On Thu, Jan 23, 2025 at 08:11:19AM +0000, Jianjun Wang (王建军) wrote: > On Wed, 2025-01-15 at 23:01 +0530, Manivannan Sadhasivam wrote: > > External email : Please do not click links or open attachments until > > you have verified the sender or the content. > > > > > > On Tue, Jan 07, 2025 at 01:20:58PM +0800, Jianjun Wang wrote: > > > Remove the usage of virt_to_phys, as it will cause sparse warnings > > > when > > > building on some platforms. > > > > > > > Strange. What are those warnings and platforms? > > There are some warning messages when building tests with different > configs on different platforms (e.g., allmodconfig.arm, > allmodconfig.i386, allmodconfig.mips, etc.): > > pcie-mediatek.c:399:40: sparse: warning: incorrect type in argument 1 > (different address spaces) > pcie-mediatek.c:399:40: sparse: expected void const volatile *x > pcie-mediatek.c:399:40: sparse: got void [noderef] __iomem * > pcie-mediatek.c:515:44: sparse: warning: incorrect type in argument 1 > (different address spaces) > pcie-mediatek.c:515:44: sparse: expected void const volatile *x > pcie-mediatek.c:515:44: sparse: got void [noderef] __iomem * > This need to be added to the patch description. - Mani -- மணிவண்ணன் சதாசிவம்