Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1236226

[RFC PATCH] ipv4: ktime_get_ms_of_day() can be static

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject [RFC PATCH] ipv4: ktime_get_ms_of_day() can be static
Date 2015-09-30 14:20 +0200
Message-ID <qeowy-4Il-9@gated-at.bofh.it> (permalink)
References <qeowx-4Il-7@gated-at.bofh.it> <qenKb-3xS-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 timekeeping.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 5611a6d..46b847a 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -847,7 +847,7 @@ time64_t ktime_get_real_seconds(void)
 EXPORT_SYMBOL_GPL(ktime_get_real_seconds);
 
 #if IS_ENABLED(CONFIG_INET)
-u32 ktime_get_ms_of_day(void)
+static u32 ktime_get_ms_of_day(void)
 {
 	struct timekeeper *tk = &tk_core.timekeeper;
 	struct timespec64 now;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 11/12] [RFC] ipv4: avoid timespec in timestamp computation Arnd Bergmann <arnd@arndb.de> - 2015-09-30 13:30 +0200
  Re: [PATCH 11/12] [RFC] ipv4: avoid timespec in timestamp computation kbuild test robot <lkp@intel.com> - 2015-09-30 14:00 +0200
    Re: [Y2038] [PATCH 11/12] [RFC] ipv4: avoid timespec in timestamp computation Arnd Bergmann <arnd@arndb.de> - 2015-09-30 14:40 +0200
      [RFC v2] ipv4: avoid timespec in timestamp computation Arnd Bergmann <arnd@arndb.de> - 2015-09-30 15:00 +0200
  Re: [PATCH 11/12] [RFC] ipv4: avoid timespec in timestamp computation kbuild test robot <lkp@intel.com> - 2015-09-30 14:20 +0200
  [RFC PATCH] ipv4: ktime_get_ms_of_day() can be static kbuild test robot <lkp@intel.com> - 2015-09-30 14:20 +0200

csiph-web