s390: fix clang -Wpointer-sign warnigns in boot code
authorArnd Bergmann <arnd@arndb.de>
Mon, 15 Apr 2019 08:35:54 +0000 (10:35 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 3 May 2019 15:17:58 +0000 (17:17 +0200)
commit4ae987894c06056e29264e5a1051e459a4454a61
treece2b1fa8bb634c537db0e501df1811a3ee5bd320
parent964d06b4ed212d85ff589a9438baeb6c4fff3272
s390: fix clang -Wpointer-sign warnigns in boot code

The arch/s390/boot directory is built with its own set of compiler
options that does not include -Wno-pointer-sign like the rest of
the kernel does, this causes a lot of harmless but correct warnings
when building with clang.

For the atomics, we can add type casts to avoid the warnings, for
everything else the easiest way is to slightly adapt the types
to be more consistent.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/boot/ipl_parm.c
arch/s390/include/asm/bitops.h
arch/s390/include/asm/ebcdic.h
arch/s390/include/asm/lowcore.h
drivers/s390/char/sclp.h