]> www.infradead.org Git - users/jedix/linux-maple.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)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 10 Oct 2024 13:32:43 +0000 (15:32 +0200)
commit61997c1e947dbf8bc625ef86ceee00fdf2a5dba1
tree08d1ffe2d8927d96776d28a7e8ee47f96d6fbd14
parentbc7f911b033a6c33bc0c919c8d94e5f09717a2f8
s390/facilities: Fix warning about shadow of global variable

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>
arch/s390/include/asm/facility.h