[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180829125052.GA114325@lkp-g5>
Date: Wed, 29 Aug 2018 20:50:52 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: kbuild-all@...org, tglx@...utronix.de, y2038@...ts.linaro.org,
linux-api@...r.kernel.org, Christoph Hellwig <hch@....de>,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
deepa.kernel@...il.com, linux-arch@...r.kernel.org,
Arnd Bergmann <arnd@...db.de>
Subject: [RFC PATCH] y2038: __get_old_timespec32() can be static
Fixes: ee16c8f415e4 ("y2038: Globally rename compat_time to old_time32")
Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
---
time.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/time/time.c b/kernel/time/time.c
index f1983f4..e3a7f7f 100644
--- a/kernel/time/time.c
+++ b/kernel/time/time.c
@@ -863,7 +863,7 @@ int put_timespec64(const struct timespec64 *ts,
}
EXPORT_SYMBOL_GPL(put_timespec64);
-int __get_old_timespec32(struct timespec64 *ts64,
+static int __get_old_timespec32(struct timespec64 *ts64,
const struct old_timespec32 __user *cts)
{
struct old_timespec32 ts;
@@ -879,7 +879,7 @@ int __get_old_timespec32(struct timespec64 *ts64,
return 0;
}
-int __put_old_timespec32(const struct timespec64 *ts64,
+static int __put_old_timespec32(const struct timespec64 *ts64,
struct old_timespec32 __user *cts)
{
struct old_timespec32 ts = {
Powered by blists - more mailing lists