diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-02-11 21:13:45 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2009-03-19 19:29:33 -0700 |
commit | 35e1801ea637810830e653ffe7ff62c7048ae03a (patch) | |
tree | 29d88f25346980250918d3c868444f1d84aa9b52 /drivers/pci/msi.c | |
parent | 9f5404d8ea90bfa4d58a3936e5a3d0d28cecf60f (diff) | |
download | lwn-35e1801ea637810830e653ffe7ff62c7048ae03a.tar.gz lwn-35e1801ea637810830e653ffe7ff62c7048ae03a.zip |
PCI hotplug: shpchp: fix bus number check to avoid false positive
With for (busnr = 0; busnr <= end; busnr++) { ... } busnr reaches end + 1
after the loop. So fix the "no busses available" check to look for just
busnr > end rather than >=.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/msi.c')
0 files changed, 0 insertions, 0 deletions