Skip to contentSkip to conversation

ehea: Fix workqueue handling

PATCH RESEND In review Thomas Klein 2 participants 2 messages Aug 6, 2007 – Aug 7, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/3 ehea: Fix workqueue handling

Fix: Workqueue ehea_driver_wq was not destroyed

---
 drivers/net/ehea/ehea.h      |    2 +-
 drivers/net/ehea/ehea_main.c |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/ehea/ehea.h +1 -1
index 8ee2c2c..d67f97b 100644
@@ -39,7 +39,7 @@
 #include <asm/io.h>
 
 #define DRV_NAME	"ehea"
-#define DRV_VERSION	"EHEA_0072"
+#define DRV_VERSION	"EHEA_0073"
 
 /* eHEA capability flags */
 #define DLPAR_PORT_ADD_REM 1
drivers/net/ehea/ehea_main.c +1 -0
index 58702f5..d43ab0f 100644
@@ -3099,6 +3099,7 @@ out:
 
 static void __exit ehea_module_exit(void)
 {
+	destroy_workqueue(ehea_driver_wq);
 	driver_remove_file(&ehea_driver.driver, &driver_attr_capabilities);
 	ibmebus_unregister_driver(&ehea_driver);
 	ehea_destroy_busmap();
Signature · 1 line
1.5.2
#1 lore raw
Quoted 8 lines · Thomas Klein

Fix: Workqueue ehea_driver_wq was not destroyed

---
 drivers/net/ehea/ehea.h      |    2 +-
 drivers/net/ehea/ehea_main.c |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

applied 1-3 to #upstream-fixes