Re: [PATCH] PCI hotplug changes for 2.5.69

Greg KH (greg@kroah.com)
Tue, 6 May 2003 16:06:53 -0700


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/