Re: [PATCH] PCI hotplug changes for 2.5.46

Greg KH (greg@kroah.com)
Tue, 5 Nov 2002 17:45:28 -0800


ChangeSet 1.875.1.8, 2002/11/02 23:43:53-08:00, greg@kroah.com

[PATCH] PCI Hotplug: fix compiler warning.

diff -Nru a/drivers/hotplug/pci_hotplug_util.c b/drivers/hotplug/pci_hotplug_util.c
--- a/drivers/hotplug/pci_hotplug_util.c Tue Nov 5 17:25:58 2002
+++ b/drivers/hotplug/pci_hotplug_util.c Tue Nov 5 17:25:58 2002
@@ -96,7 +96,7 @@
{
struct pci_bus *bus;
struct pci_bus_wrapped wrapped_bus;
- int result;
+ int result = 0;

dbg("scanning bridge %02x, %02x\n", PCI_SLOT(wrapped_dev->dev->devfn),
PCI_FUNC(wrapped_dev->dev->devfn));
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/