Re: [PATCH 4/5] soc: qcom: Add LLCC support for multi channel DDR

From: Konrad Dybcio
Date: Mon Mar 13 2023 - 06:02:24 EST



[...]
> include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
> __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
> ~~~~~~~~~~ ^
> include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
> __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
> ~~~~~~~~~~ ^
>>> drivers/soc/qcom/llcc-qcom.c:20:10: fatal error: 'linux/qcom_scm.h' file not found
> #include <linux/qcom_scm.h>
This moved over a month ago. Please send patches against fresh -next
and not some ancient tree.

Konrad
> ^~~~~~~~~~~~~~~~~~
> 6 warnings and 1 error generated.
>
>
> vim +20 drivers/soc/qcom/llcc-qcom.c
>
> > 20 #include <linux/qcom_scm.h>
> 21 #include <linux/soc/qcom/llcc-qcom.h>
> 22
>