From: Roel Kluin Date: Wed, 11 Feb 2009 20:13:45 +0000 (+0100) Subject: PCI hotplug: shpchp: fix bus number check to avoid false positive X-Git-Tag: v2.6.30-rc1~419^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35e1801ea637810830e653ffe7ff62c7048ae03a;p=pandora-kernel.git 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 Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed