Re: [PATCH] PCI fixes for 2.6.10-rc2

From: Greg KH
Date: Fri Nov 19 2004 - 17:35:48 EST


ChangeSet 1.2167, 2004/11/19 10:02:32-08:00, eike-kernel@xxxxxxxxx

[PATCH] PCI: fix Documentation/pci.txt inconsistency

Signed-off-by: Rolf Eike Beer <eike-kernel@xxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>


Documentation/pci.txt | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)


diff -Nru a/Documentation/pci.txt b/Documentation/pci.txt
--- a/Documentation/pci.txt 2004-11-19 13:19:58 -08:00
+++ b/Documentation/pci.txt 2004-11-19 13:19:58 -08:00
@@ -156,11 +156,9 @@
VENDOR_ID or DEVICE_ID. This allows searching for any device from a
specific vendor, for example.

-Note that these functions are not hotplug-safe. Their hotplug-safe
-replacements are pci_get_device(), pci_get_class() and pci_get_subsys().
-They increment the reference count on the pci_dev that they return.
-You must eventually (possibly at module unload) decrement the reference
-count on these devices by calling pci_dev_put().
+ These functions are hotplug-safe. They increment the reference count on
+the pci_dev that they return. You must eventually (possibly at module unload)
+decrement the reference count on these devices by calling pci_dev_put().


3. Enabling and disabling devices
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/