commit | 7b170665da09036053f910f6d6b6a8ee0b9506d3 | [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 | 6edeb9436fe0333ff572a9d12bff12f2957a29e4 [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>