PCI: correct resource number in debug output
commite4ec7a00ed30429030112e5591cf3138645727c2
authorJesse Barnes <jbarnes@hobbes.(none)>
Wed, 25 Jun 2008 23:12:25 +0000 (25 16:12 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 25 Jun 2008 23:12:25 +0000 (25 16:12 -0700)
tree0832a469122a6e3d8b388359d1839810f36429a1
parent34438ba602f9b8904aafe7559046ea68e99e88a0
PCI: correct resource number in debug output

If pci_request_region fails, make the warning include the resource number,
not the resource number + 1.
drivers/pci/pci.c