[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210924174323.20770-1-songkai01@inspur.com>
Date: Sat, 25 Sep 2021 01:43:23 +0800
From: Kai Song <songkai01@...pur.com>
To: <john.stultz@...aro.org>, <tglx@...utronix.de>, <sboyd@...nel.org>
CC: <linux-kernel@...r.kernel.org>, Kai Song <songkai01@...pur.com>
Subject: [PATCH] time:Fix an incorrect function name in the comment
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@...pur.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
Powered by blists - more mailing lists