* [PATCH -next] watchdog: Add __init/__exit annotations to module init/exit funcs
@ 2022-09-26 12:04 ruanjinjie
2022-09-26 13:35 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: ruanjinjie @ 2022-09-26 12:04 UTC (permalink / raw)
To: wim, linux, linux-watchdog, linux-kernel; +Cc: ruanjinjie
Add missing __init/__exit annotations to module init/exit funcs
Signed-off-by: ruanjinjie <ruanjinjie@huawei.com>
---
drivers/watchdog/cpu5wdt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/watchdog/cpu5wdt.c b/drivers/watchdog/cpu5wdt.c
index 688b112e712b..3e4534e8fa4b 100644
--- a/drivers/watchdog/cpu5wdt.c
+++ b/drivers/watchdog/cpu5wdt.c
@@ -242,7 +242,7 @@ static int cpu5wdt_init(void)
return err;
}
-static int cpu5wdt_init_module(void)
+static int __init cpu5wdt_init_module(void)
{
return cpu5wdt_init();
}
@@ -261,7 +261,7 @@ static void cpu5wdt_exit(void)
}
-static void cpu5wdt_exit_module(void)
+static void __exit cpu5wdt_exit_module(void)
{
cpu5wdt_exit();
}
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] watchdog: Add __init/__exit annotations to module init/exit funcs
2022-09-26 12:04 [PATCH -next] watchdog: Add __init/__exit annotations to module init/exit funcs ruanjinjie
@ 2022-09-26 13:35 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2022-09-26 13:35 UTC (permalink / raw)
To: ruanjinjie, wim, linux-watchdog, linux-kernel
On 9/26/22 05:04, ruanjinjie wrote:
> Add missing __init/__exit annotations to module init/exit funcs
>
> Signed-off-by: ruanjinjie <ruanjinjie@huawei.com>
There are way too many patches lately which don't reflect the affected
driver in the subject line. I am not going to respond to those
anymore and ignore them.
Guenter
> ---
> drivers/watchdog/cpu5wdt.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/watchdog/cpu5wdt.c b/drivers/watchdog/cpu5wdt.c
> index 688b112e712b..3e4534e8fa4b 100644
> --- a/drivers/watchdog/cpu5wdt.c
> +++ b/drivers/watchdog/cpu5wdt.c
> @@ -242,7 +242,7 @@ static int cpu5wdt_init(void)
> return err;
> }
>
> -static int cpu5wdt_init_module(void)
> +static int __init cpu5wdt_init_module(void)
> {
> return cpu5wdt_init();
> }
> @@ -261,7 +261,7 @@ static void cpu5wdt_exit(void)
>
> }
>
> -static void cpu5wdt_exit_module(void)
> +static void __exit cpu5wdt_exit_module(void)
> {
> cpu5wdt_exit();
> }
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-26 15:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26 12:04 [PATCH -next] watchdog: Add __init/__exit annotations to module init/exit funcs ruanjinjie
2022-09-26 13:35 ` Guenter Roeck
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.