]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
s390/facilities: Fix warning about shadow of global variable
authorGerd Bayer <gbayer@linux.ibm.com>
Thu, 26 Sep 2024 15:37:06 +0000 (17:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2024 12:52:43 +0000 (13:52 +0100)
commit7a6d5b454916fd5d96b68772699a729cb1dd0cc6
tree6dbb69d84729350294c76e84bc5459311feee31a
parent1e4b4c9019b19fb79df7be204befc751dc690c61
s390/facilities: Fix warning about shadow of global variable

[ Upstream commit 61997c1e947dbf8bc625ef86ceee00fdf2a5dba1 ]

Compiling the kernel with clang W=2 produces a warning that the
parameter declarations in some routines would shadow the definition of
the global variable stfle_fac_list. Address this warning by renaming the
parameters to fac_list.

Fixes: 17e89e1340a3 ("s390/facilities: move stfl information from lowcore to global data")
Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/include/asm/facility.h