[PATCH 1/9] cache: sifive: Fix -Wint-to-pointer-cast warning
Leo Liang
ycliang at andestech.com
Tue Oct 12 09:43:52 CEST 2021
On Mon, Oct 11, 2021 at 11:14:21AM +0800, Bin Meng wrote:
> On Wed, Sep 15, 2021 at 11:40 AM Leo Liang <ycliang at andestech.com> wrote:
> >
> > On Sun, Sep 12, 2021 at 11:15:08AM +0800, Bin Meng wrote:
> > > The following warning is seen in cache-sifive-ccache.c in a 32-bit build:
> > >
> > > warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> > >
> > > Fix by casting it with uintptr_t.
> > >
> > > Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> > > ---
> > >
> > > drivers/cache/cache-sifive-ccache.c | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
>
> Ping for apply?
Hi Bin,
Sorry for the late reply.
For this patch set, I thought you were going to update the tests for the
new API `devfdt_get_addr_index_ptr()` as Simon suggested.
Just wanted to make sure that you don't have any updates for this
patchset, then I will apply this patch right away.
Hi Simon,
After checking the test/dm/test-fdt.c,
there seems to be no need for any updates, right?
Or is there anything I miss?
Best regards,
Leo
More information about the U-Boot
mailing list