diff options
author | Yijing Wang <[email protected]> | 2013-05-28 10:55:09 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2013-05-28 11:09:16 -0600 |
commit | ea221e64140f6fa543c29e31349001167b9f8ad0 (patch) | |
tree | d1540937f902e3383e7ecba615ed0e9efcb7e080 /lib/mpi/mpi-bit.c | |
parent | bb5c2de268f0d01fb3bb7683037d9b2bebcba3d5 (diff) |
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 <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: Jiang Liu <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Feng Tang <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions