On Thu, Jan 19, 2023 at 03:05:44PM +0800, Yu Chien Peter Lin wrote:
> This patch fixes following warning for riscv32 compilation.
>
> 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 <peter...@andestech.com>
> ---
> drivers/cache/cache-v5l2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Leo Yu-Chi Liang <ycli...@andestech.com>