From: "Steven Rostedt (Google)" <[email protected]>

Before a module is released, timer_shutdown_sync() must be called on its
timers.

Link: https://lore.kernel.org/all/[email protected]/

Cc: [email protected]
Acked-by: Corey Minyard <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
---
 drivers/char/ipmi/ipmi_msghandler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/ipmi/ipmi_msghandler.c 
b/drivers/char/ipmi/ipmi_msghandler.c
index 49a1707693c9..5cfb85e22d65 100644
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@ -5540,7 +5540,7 @@ static void __exit cleanup_ipmi(void)
                 * here.
                 */
                atomic_set(&stop_operation, 1);
-               del_timer_sync(&ipmi_timer);
+               timer_shutdown_sync(&ipmi_timer);
 
                initialized = false;
 
-- 
2.35.1


_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to