Skip to content
  • Martin Schwidefsky's avatar
    s390/signal: add sparse annotations · 37d2cd9d
    Martin Schwidefsky authored
    
    
    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: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    37d2cd9d