From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [time:fortglx/3.7/time 11/13] include/linux/timekeeper_internal.h:101:1: sparse: missing identifier
Date: Sat, 22 Sep 2012 00:41:11 +0000 [thread overview]
Message-ID: <20120922004111.GH5959@localhost> (raw)
Hi John,
FYI, there are new sparse warnings show up in
tree: git://git.linaro.org/people/jstultz/linux.git fortglx/3.7/time
head: f9bb3ff13c4701ee6242ec4b4ef0cbc71d5ff299
commit: 672364f56055976aae7e68b59cf578173a3dbddc [11/13] time: Introduce new GENERIC_TIME_VSYSCALL
All sparse warnings:
+ include/linux/timekeeper_internal.h:101:1: sparse: missing identifier in declaration
+ include/linux/timekeeper_internal.h:101:1: sparse: Expected ; at the end of type declaration
+ include/linux/timekeeper_internal.h:101:1: sparse: got {
kernel/time.c:167:17: sparse: undefined identifier 'update_vsyscall_tz'
In file included from kernel/time.c:33:0:
include/linux/timekeeper_internal.h:101:1: error: expected identifier or '(' before '{' token
In file included from kernel/time.c:33:0:
include/linux/timekeeper_internal.h:100:20: warning: 'update_vsyscall' declared 'static' but never defined [-Wunused-function]
--
+ include/linux/timekeeper_internal.h:101:1: sparse: missing identifier in declaration
+ include/linux/timekeeper_internal.h:101:1: sparse: Expected ; at the end of type declaration
+ include/linux/timekeeper_internal.h:101:1: sparse: got {
arch/x86/include/asm/stat.h:26:1: sparse: Expected ; at the end of type declaration
arch/x86/include/asm/stat.h:26:1: sparse: got }
+ include/linux/timekeeper_internal.h:100:35: sparse: marked inline, but without a definition
In file included from kernel/time/timekeeping.c:11:0:
include/linux/timekeeper_internal.h:101:1: error: expected identifier or '(' before '{' token
In file included from kernel/time/timekeeping.c:11:0:
include/linux/timekeeper_internal.h:100:20: warning: 'update_vsyscall' used but never defined [enabled by default]
? kernel/time.c:167:17: sparse: undefined identifier 'update_vsyscall_tz'
? arch/x86/include/asm/stat.h:26:1: sparse: Expected ; at the end of type declaration
? arch/x86/include/asm/stat.h:26:1: sparse: got }
vim +101 include/linux/timekeeper_internal.h
85
86 extern void update_vsyscall_old(struct timespec *ts, struct timespec *wtm,
87 struct clocksource *c, u32 mult);
88 extern void update_vsyscall_tz(void);
89
90 static inline void update_vsyscall(struct timekeeper *tk)
91 {
92 struct timespec xt;
93
94 xt = tk_xtime(tk);
95 update_vsyscall_old(&xt, &tk->wall_to_monotonic, tk->clock, tk->mult);
96 }
97
98 #else
99
100 static inline void update_vsyscall(struct timekeeper *tk);
> 101 {
102 }
103 static inline void update_vsyscall_tz(void)
104 {
105 }
106 #endif
107
108 #endif /* _LINUX_TIMEKEEPER_INTERNAL_H */
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu, Yuanhan Liu Intel Corporation
next reply other threads:[~2012-09-22 0:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-22 0:41 Fengguang Wu [this message]
2012-09-22 0:47 ` [time:fortglx/3.7/time 11/13] include/linux/timekeeper_internal.h:101:1: sparse: missing identif John Stultz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120922004111.GH5959@localhost \
--to=fengguang.wu@intel.com \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox