]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: limit pci_get_bus_and_slot to domain 0
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 28 Jun 2007 23:04:21 +0000 (16:04 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:02:13 +0000 (16:02 -0700)
commit5463d9f0f323123d96989d318ac9c537158ad0a5
treea6706e7f0e9ee3f0a5c14f123536dc51a3b2e111
parent0bbd6424c55f0ab9e7fcd6a851bc49e265259ff5
PCI: limit pci_get_bus_and_slot to domain 0

Limit pci_get_bus_and_slot() to domain (segment) 0 since domain is not
specified in the function call and defaulting to domain 0 is the only
reasonable thing to do (rather than returning a device from some other
unknown domain).

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/search.c