Re: [PATCH 8/9] ram: sifive: Fix -Wint-to-pointer-cast warnings

2021-09-15 Thread Leo Liang
On Sun, Sep 12, 2021 at 11:15:15AM +0800, Bin Meng wrote: > The following warning is seen in sifive_ddr.c in a 32-bit build: > > warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > > Change to use dev_read_addr_index_ptr(). > > Signed-off-by: Bin Meng > --- >

[PATCH 8/9] ram: sifive: Fix -Wint-to-pointer-cast warnings

2021-09-11 Thread Bin Meng
The following warning is seen in sifive_ddr.c in a 32-bit build: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Change to use dev_read_addr_index_ptr(). Signed-off-by: Bin Meng --- drivers/ram/sifive/sifive_ddr.c | 8 1 file changed, 4 insertions(+