s390/cmpxchg: make variables local to each case label
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 2 Nov 2022 14:17:28 +0000 (15:17 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 21 Nov 2022 12:36:15 +0000 (13:36 +0100)
commitce968f654570dbd9cac7de694681640061559d3b
treebd55b4133ee8c7eb56eff57ce34fd812722bcdf5
parent13f62e84385fa0241fc6a2178da50af02189121b
s390/cmpxchg: make variables local to each case label

Make variables local to each case label. This limits the scope of
variables and allows to use proper types everywhere.

Link: https://lore.kernel.org/r/Y2J7+HqgAZwnfxsh@osiris
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/cmpxchg.h