s390/pci: fix bar check
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 22 Jan 2016 13:03:06 +0000 (14:03 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 26 Jan 2016 11:46:17 +0000 (12:46 +0100)
commitc0cabaddeeeab13db8ef4e275ab5c7c0e8746324
tree2d15deb1740906ec71672ec28bb74b4e34e7404e
parentc506fff3d3a8a632e8eb2270680548ec415f0357
s390/pci: fix bar check

Fix the check which bar space we should map to allow available bars only.

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