[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y7P+KuMs52BTfKgv@gmail.com>
Date: Tue, 3 Jan 2023 11:06:34 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: linux-kernel@...r.kernel.org, John Stultz <jstultz@...gle.com>,
Thomas Gleixner <tglx@...utronix.de>,
Stephen Boyd <sboyd@...nel.org>,
Frederic Weisbecker <fweisbec@...il.com>
Subject: Re: [PATCH] time: fix various kernel-doc problems
* Randy Dunlap <rdunlap@...radead.org> wrote:
> kernel/time/tick-oneshot.c:107: warning: expecting prototype for tick_check_oneshot_mode(). Prototype was for tick_oneshot_mode_active() instead
> --- a/kernel/time/tick-oneshot.c
> +++ b/kernel/time/tick-oneshot.c
> @@ -103,7 +103,7 @@ int tick_switch_to_oneshot(void (*handle
> *
> * returns 1 when either nohz or highres are enabled. otherwise 0.
> */
> -int tick_oneshot_mode_active(void)
> +int tick_check_oneshot_mode(void)
> {
> unsigned long flags;
> int ret;
This one looks wrong - did you change the name on the wrong line?
I've applied your patch, but fixed the above hunk to be:
@@ -99,7 +99,7 @@ int tick_switch_to_oneshot(void (*handle
}
/**
- * tick_check_oneshot_mode - check whether the system is in oneshot mode
+ * tick_oneshot_mode_active - check whether the system is in oneshot mode
*
* returns 1 when either nohz or highres are enabled. otherwise 0.
*/
Thanks,
Ingo
Powered by blists - more mailing lists