[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221105060201.459104132@goodmis.org>
Date: Sat, 05 Nov 2022 02:01:00 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Stephen Boyd <sboyd@...nel.org>,
Guenter Roeck <linux@...ck-us.net>,
Anna-Maria Gleixner <anna-maria@...utronix.de>,
Andrew Morton <akpm@...ux-foundation.org>,
openipmi-developer@...ts.sourceforge.net,
Corey Minyard <cminyard@...sta.com>
Subject: [PATCH v4a 36/38] timers: ipmi: Use timer_shutdown_sync() before a module is released
From: "Steven Rostedt (Google)" <rostedt@...dmis.org>
Before a module is released, timer_shutdown_sync() must be called on its
timers.
Link: https://lore.kernel.org/all/20221104054053.431922658@goodmis.org/
Cc: openipmi-developer@...ts.sourceforge.net
Acked-by: Corey Minyard <cminyard@...sta.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@...dmis.org>
---
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
Powered by blists - more mailing lists