s390/pci: remove iomap sanity checks
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 22 Jan 2016 13:11:21 +0000 (14:11 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 26 Jan 2016 11:46:45 +0000 (12:46 +0100)
commitf5e44f82c1848d8e55fb0061308f14c0884e5483
treeba74ab56d98031e9fc83e154b8691b5900321d6f
parent8ead7efb6379354d0d31efb39342f4399c87cb67
s390/pci: remove iomap sanity checks

Since each iomap_entry handles only one bar of one pci function
(even when disjunct ranges of a bar are mapped) the sanity check
in pci_iomap_range is not needed and can be removed.

Also convert the remaining BUG_ONs to WARN_ONs.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci.c