From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 904E125F7BF; Fri, 21 Nov 2025 13:47:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763732845; cv=none; b=Z38alfHnk0OOUJQ0JGYAQm+lC4zCXAJc1oW+P8/tvYFsIvVvnG9ymvhNszOn8aDQC2vvDMlrcbr+otIiknf6dSODqxha/iqnduLHBnEU7oAtdzXcGBlritlRmK5uErQ/U7/3mEmhb9td+DOWe475yJ7ksHbQdvb2NmOTXNWsevM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763732845; c=relaxed/simple; bh=C/ssxmmYXkbwDeopQtWCa18ci4OHonesgSVd8Ojrbh4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Oaz267t4R5YT3wxFC4pU0o339P3vU5yBz86GeKKc4tXb+MTSGrM2PjpIixTfuufD3oA6kHvCQ4bq/6J4YwtbDfXxcInRhn4uIQK24W7LB+54d7iD7dPnqSasMAFdeFdt8GMJ+hMBF8VvcQOh6plYlSLOXfPYu1BTMWs9hhwifF4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QrYok+Jt; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="QrYok+Jt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19DC3C4CEF1; Fri, 21 Nov 2025 13:47:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1763732845; bh=C/ssxmmYXkbwDeopQtWCa18ci4OHonesgSVd8Ojrbh4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QrYok+JtAOnH2NDLQmyuto1r1hmCZrsyQN8nu1pIS4UBLTDXaLyfl48brcCnEPRR1 gVDi8oZ6Rz8mjdMgCs6ngyTm9baliRHeRPnsYHALRgCW46clk5ucqftVrSOU9ZYYSB EP1lKF59QZNf8vsf6gNlLd4DsPdM0z/kjWHnTmqU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Al Viro , Andreas Larsson , Sasha Levin Subject: [PATCH 6.6 263/529] sparc64: fix prototypes of reads[bwl]() Date: Fri, 21 Nov 2025 14:09:22 +0100 Message-ID: <20251121130240.380681330@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251121130230.985163914@linuxfoundation.org> References: <20251121130230.985163914@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.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Al Viro [ Upstream commit 7205ef77dfe167df1b83aea28cf00fc02d662990 ] Conventions for readsl() are the same as for readl() - any __iomem pointer is acceptable, both const and volatile ones being OK. Same for readsb() and readsw(). Signed-off-by: Al Viro Reviewed-by: Andreas Larsson Signed-off-by: Andreas Larsson # Making sparc64 subject prefix Signed-off-by: Sasha Levin --- arch/sparc/include/asm/io_64.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/sparc/include/asm/io_64.h b/arch/sparc/include/asm/io_64.h index 9303270b22f3c..f9d370324729e 100644 --- a/arch/sparc/include/asm/io_64.h +++ b/arch/sparc/include/asm/io_64.h @@ -250,19 +250,19 @@ void insl(unsigned long, void *, unsigned long); #define insw insw #define insl insl -static inline void readsb(void __iomem *port, void *buf, unsigned long count) +static inline void readsb(const volatile void __iomem *port, void *buf, unsigned long count) { insb((unsigned long __force)port, buf, count); } #define readsb readsb -static inline void readsw(void __iomem *port, void *buf, unsigned long count) +static inline void readsw(const volatile void __iomem *port, void *buf, unsigned long count) { insw((unsigned long __force)port, buf, count); } #define readsw readsw -static inline void readsl(void __iomem *port, void *buf, unsigned long count) +static inline void readsl(const volatile void __iomem *port, void *buf, unsigned long count) { insl((unsigned long __force)port, buf, count); } -- 2.51.0