Re: [PATCH] mips: n64: add __iomem for writel call

From: Thomas Bogendoerfer

Date: Tue May 26 2026 - 11:47:08 EST


On Fri, May 08, 2026 at 08:57:27PM -0700, Rosen Penev wrote:
> sparse: incorrect type in argument 2 (different address spaces) @@
> expected void volatile [noderef] __iomem *mem @@
> got unsigned int [usertype] *
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202105261445.AcvPd2EE-lkp@xxxxxxxxx/
> Fixes: baec970aa5ba ("mips: Add N64 machine type")
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
> ---
> arch/mips/n64/init.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

applied to mips-next

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]