projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10fec20
)
x86/PCI: allow scanning of 255 PCI busses
author
Andi Kleen
<andi@firstfloor.org>
Mon, 11 Aug 2008 21:11:05 +0000
(23:11 +0200)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Mon, 11 Aug 2008 22:23:50 +0000
(15:23 -0700)
Fix an old off by one error in the legacy PCI bus check. 0xff
is a valid bus.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/pci/legacy.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/pci/legacy.c
b/arch/x86/pci/legacy.c
index ec9ce35e44d6afe51b2c63bafbe9d5e3053d68c4..b722dd481b3975b2b9b171203a42f6406b9cafed 100644
(file)
--- a/
arch/x86/pci/legacy.c
+++ b/
arch/x86/pci/legacy.c
@@
-14,7
+14,7
@@
static void __devinit pcibios_fixup_peer_bridges(void)
int n, devfn;
long node;
- if (pcibios_last_bus <= 0 || pcibios_last_bus >
=
0xff)
+ if (pcibios_last_bus <= 0 || pcibios_last_bus > 0xff)
return;
DBG("PCI: Peer bridge fixup\n");