commit | da24626d147cdd04e84f88c0196a0131fa22cee7 | [log] [tgz] |
---|---|---|
author | Yu Chien Peter Lin <peterlin@andestech.com> | Mon Feb 06 16:10:53 2023 +0800 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Fri Feb 17 19:07:48 2023 +0800 |
tree | 31d23494a9df8578b058fb3902570dc472790845 | |
parent | f29834d150f9650c7d38dac62f601444e9a31238 [diff] |
driver: cache-v5l2: Fix type casting warning on RV32 This patch fixes following warning for the riscv32 toolchain. drivers/cache/cache-v5l2.c:122:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 122 | regs = (struct l2cache *)dev_read_addr(dev); | ^ Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>