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 699904071E3; Tue, 21 Jul 2026 17:46:44 +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=1784656005; cv=none; b=UDERE59jo1+If7vqVAgHLUKugbMULNvSlL4CZye+LDA7/whUAIsxeAvqeEgWS3QKNiQ5/mMLsg5/f9im+4IXomOAt1RDE0DQuMSSXG2pIh/NIw3onvrDYak6jthdSTHdcZ39y+K2jJNHWzt90g9uGgdvYRPc4ZZ5hOuTXkGyXWs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784656005; c=relaxed/simple; bh=FiZjWqAqMFIp5G8obw8v9hTQlKM7Lfc/wjdDbxzQF9w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TJJRMUBhTSyUix4WrfBYC9m1BlxlNZDkwbAP9yPbII1TieoGDEDn2reOcgVq/XDM8bTDMwy79cFe69MdEncVvO/YzlsfItqT/sk/G0i3t2G7OY1ZebT2k0ZGFerEFlClpi1XJEHMI+cnbUdTmFroOuZlw2wVqAhOFk7PLlWPWqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=B83hhgvZ; 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="B83hhgvZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 893F21F00A3A; Tue, 21 Jul 2026 17:46:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784656004; bh=5tUfhbAZBZIYh7z2F1sqI1I9cBWfOeb8Mw+Kslg3fCA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=B83hhgvZm/xfSuaUJEENrUgjPHR6NOZtH6SedeHbFmzPP+qswmhzv32T6DMVPFnQY 5ExNhjsrKt7oEy+uCjGfUptrbh7cP+otHR2ZwHKnmx/F85VTuh8CG6b/tPlX/6fxxF pN69HFoETsk7jODUHyT6tGPTlMzN4S5L9NPG84SQ= 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 6.18 0222/1611] mips: n64: add __iomem for writel call Date: Tue, 21 Jul 2026 17:05:38 +0200 Message-ID: <20260721152519.994129884@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152514.750365251@linuxfoundation.org> References: <20260721152514.750365251@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 6.18-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