]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
s390/topology: let topology_mnest_limit() return unsigned char
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 4 May 2017 11:06:58 +0000 (13:06 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 May 2017 08:43:26 +0000 (10:43 +0200)
commit80ba38469aa28bbcfc7a31e5b41adfc42120465e
treeb42c85fa4fb2f1f5e3e35229672e93e577368af4
parentf5c8b9601036869e162cb278aaafbf003dc4e5a0
s390/topology: let topology_mnest_limit() return unsigned char

Fixes a couple of compile warnings with gcc 7.1.0 :

arch/s390/kernel/sysinfo.c:578:20:
  note: directive argument in the range [-2147483648, 4]
   sprintf(link_to, "15_1_%d", topology_mnest_limit());

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/sysinfo.h