]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/signal: add sparse annotations
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 30 Oct 2014 12:45:43 +0000 (13:45 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 3 Nov 2014 12:30:36 +0000 (13:30 +0100)
commit37d2cd9d84851a2bd4a4bcc0157880ee4d8b5803
tree45d5d1ff314d8f45d87fddb3a3ff01f6958b9e4a
parenta697e051160390065393e2926d9d080077239e9e
s390/signal: add sparse annotations

Fix the following warnings from the sparse code checker:

arch/s390/kernel/signal.c:374:38: warning: cast removes address space of expression
arch/s390/kernel/signal.c:374:65: warning: incorrect type in initializer (different address spaces)
arch/s390/kernel/signal.c:374:65:    expected unsigned short [noderef] [usertype] <asn:1>*svc
arch/s390/kernel/signal.c:374:65:    got void *

arch/s390/kernel/compat_signal.c:437:38: warning: cast removes address space of expression
arch/s390/kernel/compat_signal.c:437:65: warning: incorrect type in initializer (different address spaces)
arch/s390/kernel/compat_signal.c:437:65:    expected unsigned short [noderef] [usertype] <asn:1>*svc
arch/s390/kernel/compat_signal.c:437:65:    got void *

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/compat_signal.c
arch/s390/kernel/signal.c