]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
s390/pci: remove iomap sanity checks
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 22 Jan 2016 13:11:21 +0000 (14:11 +0100)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:27:38 +0000 (10:27 +0100)
commit04e5b7a60b2c21ae37c1d542d0c9b3a3ad9b68d7
tree386d0e64c05ab9dc01c605a30446c28eaf655041
parent216aa2e94d93f2c64d152e3575cbf76fe0e5906e
s390/pci: remove iomap sanity checks

BugLink: http://bugs.launchpad.net/bugs/1558624
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>
(cherry picked from commit f5e44f82c1848d8e55fb0061308f14c0884e5483)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/s390/pci/pci.c