• Martin Schwidefsky's avatar
    s390/pci: add sparse annotations · 5b9f2081
    Martin Schwidefsky authored
    Fix the following warnings from the sparse code checker:
    
    arch/s390/include/asm/pci_io.h:165:49: warning: cast removes address space of expression
    arch/s390/pci/pci.c:476:44: warning: cast removes address space of expression
    arch/s390/pci/pci.c:491:36: warning: incorrect type in argument 2 (different address spaces)
    arch/s390/pci/pci.c:491:36:    expected void [noderef] <asn:2>*addr
    arch/s390/pci/pci.c:491:36:    got void *<noident>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    5b9f2081
pci_io.h 4.3 KB