[Patch v4 19/23] x86/PCI: Fix the range check for IO resources

2015-02-04 Thread Jiang Liu
The range check in setup_res() checks the IO range against iomem_resource. That's just wrong. Reworked based on Thomas original patch. Signed-off-by: Thomas Gleixner Signed-off-by: Jiang Liu --- arch/x86/pci/acpi.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[Patch v4 19/23] x86/PCI: Fix the range check for IO resources

2015-02-04 Thread Jiang Liu
The range check in setup_res() checks the IO range against iomem_resource. That's just wrong. Reworked based on Thomas original patch. Signed-off-by: Thomas Gleixner t...@linutronix.de Signed-off-by: Jiang Liu jiang@linux.intel.com --- arch/x86/pci/acpi.c |6 -- 1 file changed, 4