Re: [PATCH] PCI hotplug changes for 2.5.69

From: Greg KH (greg@kroah.com)
Date: Tue May 06 2003 - 18:06:53 EST


ChangeSet 1.1083, 2003/05/06 15:35:34-07:00, greg@kroah.com

[PATCH] PCI Hotplug: fix compiler warning in ibm driver.

 drivers/hotplug/ibmphp_core.c | 2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Nru a/drivers/hotplug/ibmphp_core.c b/drivers/hotplug/ibmphp_core.c
--- a/drivers/hotplug/ibmphp_core.c Tue May 6 15:55:54 2003
+++ b/drivers/hotplug/ibmphp_core.c Tue May 6 15:55:54 2003
@@ -1417,7 +1417,7 @@
 
         /* lock ourselves into memory with a module
          * count of -1 so that no one can unload us. */
- MOD_DEC_USE_COUNT;
+ module_put(THIS_MODULE);
 
 exit:
         return rc;

-
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/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:28 EST