s390/pci: add sparse annotations
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 30 Oct 2014 09:30:45 +0000 (10:30 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 3 Nov 2014 12:30:23 +0000 (13:30 +0100)
commit5b9f2081e0844581cc94384eb052007002b2bfa8
treed0bf09ebacf1272ba884f39c806b89f7f7518583
parentb19148f6e2d90738ecf0c2eeeb9bdbae25c59e9b
s390/pci: add sparse annotations

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: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pci_io.h
arch/s390/pci/pci.c