summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorHeiko Carstens2017-11-08 11:18:29 +0100
committerHeiko Carstens2017-11-08 22:11:20 +0100
commitead7a22e9b6eff225afb127f8835a1d3da271a89 (patch)
tree296023c7e837c5cfecc4f0ee935232161e9472ae /arch/s390/kernel
parents390/disassembler: generate opcode tables from text file (diff)
downloadkernel-qcow2-linux-ead7a22e9b6eff225afb127f8835a1d3da271a89.tar.gz
kernel-qcow2-linux-ead7a22e9b6eff225afb127f8835a1d3da271a89.tar.xz
kernel-qcow2-linux-ead7a22e9b6eff225afb127f8835a1d3da271a89.zip
s390: avoid undefined behaviour
At a couple of places smatch emits warnings like this: arch/s390/mm/vmem.c:409 vmem_map_init() warn: right shifting more than type allows In fact shifting a signed type right is undefined. Avoid this and add an unsigned long cast. The shifted values are always positive. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel')
0 files changed, 0 insertions, 0 deletions