From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 881263BD63B; Tue, 21 Jul 2026 22:07:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784671623; cv=none; b=R/xJRRDAYyc8BlffzuVjloWiIlvDw0Xwq68giSM2uUWYXJjqPnnrXQcbTSh27p1z03e6EO1rTMgm1fSLTHZgM0jXOsn6ijc1BTLYYefmW5l3JJRq1j9mtVlOMyFLtgcWCfI6mTcpYE7rPFWXuFIdXVAYyd0VYqMxkB6rhgaCK0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784671623; c=relaxed/simple; bh=CdYiBhUHDLn4P2NZaB/uBzr8iT9YLAKbppdoAdPK+tM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qjEJqkEYJwvecCaJ6qwmqwSrsYob89D6V0MYAqdwCgPpI1DrRN3yrECxop16ur4RjD9u/asmmddPMYwApuAsoBfBXcI+jYT/SZb02CHDzlZXj/bqFhibdsHwT72igmOLxydgAx2CoZg19lggSfKRZA8Uq9GET+m/JSMVeSbULVE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LXYBUlV1; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="LXYBUlV1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 169561F000E9; Tue, 21 Jul 2026 22:07:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784671622; bh=80UDLAOk9enSReztSFnPk6qjwuvmkn45KqHuEdMbA7g=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=LXYBUlV1UdGEIjx6kR3Z8vFoH3zarc0yfFuNGTo4noKJpwIOoCFXp1NgleAFA7jSt g6K/xUN5x9px+zzLVRD9vvYx0EWmxUNgsFaqsacd8BpxCHRpKhGJnPJXT1mSNfMwDl qS8i8m5tj+PLFwMaOpJlGTwKw+pPZeP+3ZEWlAkc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , Rosen Penev , Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 5.15 263/843] mips: n64: add __iomem for writel call Date: Tue, 21 Jul 2026 17:18:18 +0200 Message-ID: <20260721152411.942535890@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152405.946368001@linuxfoundation.org> References: <20260721152405.946368001@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Rosen Penev [ Upstream commit 579f5329d5df2dbcf4bb5ef398701c2501d24892 ] sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int [usertype] * Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202105261445.AcvPd2EE-lkp@intel.com/ Fixes: baec970aa5ba ("mips: Add N64 machine type") Signed-off-by: Rosen Penev Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/n64/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/n64/init.c b/arch/mips/n64/init.c index dfbd864f466700..66ec28ab41f321 100644 --- a/arch/mips/n64/init.c +++ b/arch/mips/n64/init.c @@ -50,7 +50,7 @@ void __init prom_init(void) #define W 320 #define H 240 -#define REG_BASE ((u32 *) CKSEG1ADDR(0x4400000)) +#define REG_BASE ((u32 __iomem *) CKSEG1ADDR(0x4400000)) static void __init n64rdp_write_reg(const u8 reg, const u32 value) { -- 2.53.0