diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-09-12 06:15:15 +0300 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2021-10-20 05:59:09 +0300 |
commit | d36c94279dd4fceab928cf60947ad876284de86a (patch) | |
tree | ea1938cb795cafd60487d2caac78129b507e2c5e /arch/riscv | |
parent | b422ed05f7035c5a6da527ab859bc008cb38ef14 (diff) | |
download | u-boot-d36c94279dd4fceab928cf60947ad876284de86a.tar.xz |
ram: sifive: Fix -Wint-to-pointer-cast warnings
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 <bmeng.cn@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions