linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] time:Fix an incorrect function name in the comment
@ 2021-09-24 17:43 Kai Song
  2021-09-30  5:31 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Kai Song @ 2021-09-24 17:43 UTC (permalink / raw)
  To: john.stultz, tglx, sboyd; +Cc: linux-kernel, Kai Song

We fix the following warning when building kernel with W=1:
kernel/time/time.c:479: warning: expecting prototype for set_normalized_timespec(). Prototype was for set_normalized_timespec64() instead

Signed-off-by: Kai Song <songkai01@inspur.com>
---
 kernel/time/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/time.c b/kernel/time/time.c
index 29923b20e0e4..77bac462b7da 100644
--- a/kernel/time/time.c
+++ b/kernel/time/time.c
@@ -462,7 +462,7 @@ struct __kernel_old_timeval ns_to_kernel_old_timeval(const s64 nsec)
 EXPORT_SYMBOL(ns_to_kernel_old_timeval);
 
 /**
- * set_normalized_timespec - set timespec sec and nsec parts and normalize
+ * set_normalized_timespec64 - set timespec sec and nsec parts and normalize
  *
  * @ts:		pointer to timespec variable to be set
  * @sec:	seconds to set
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] time:Fix an incorrect function name in the comment
  2021-09-24 17:43 [PATCH] time:Fix an incorrect function name in the comment Kai Song
@ 2021-09-30  5:31 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2021-09-30  5:31 UTC (permalink / raw)
  To: Kai Song, john.stultz, tglx; +Cc: linux-kernel, Kai Song

Quoting Kai Song (2021-09-24 10:43:23)
> We fix the following warning when building kernel with W=1:
> kernel/time/time.c:479: warning: expecting prototype for set_normalized_timespec(). Prototype was for set_normalized_timespec64() instead
> 
> Signed-off-by: Kai Song <songkai01@inspur.com>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-30  5:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 17:43 [PATCH] time:Fix an incorrect function name in the comment Kai Song
2021-09-30  5:31 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).