summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-05-28 04:55:09 +0200
committerBjorn Helgaas <bhelgaas@google.com>2013-05-28 19:09:16 +0200
commitea221e64140f6fa543c29e31349001167b9f8ad0 (patch)
treed1540937f902e3383e7ecba615ed0e9efcb7e080 /drivers/pci
parentPCI: Fix INTC comment typo for pci_swizzle_interrupt_pin() (diff)
downloadlinux-ea221e64140f6fa543c29e31349001167b9f8ad0.tar.xz
linux-ea221e64140f6fa543c29e31349001167b9f8ad0.zip
x86/PCI: Increase info->res_num before checking pci_use_crs
We should increase info->res_num before we checking pci_use_crs return when pci=nocrs set. No functional change, since we don't use res_num and res_offset[] in the "!pci_use_crs" case anyway, but this makes the code read better. Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Jiang Liu <liuj97@gmail.com> Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> Cc: Feng Tang <feng.tang@intel.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions