* [dwmw2:ffclock 43/43] kernel/time/ntp_internal.h:18:26: warning: declaration of 'struct audit_ntp_data' will not be visible outside of this function
@ 2026-05-18 22:42 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-18 22:42 UTC (permalink / raw)
To: David Woodhouse; +Cc: llvm, oe-kbuild-all
tree: git://git.infradead.org/users/dwmw2/linux ffclock
head: 123146665ac9426e106557f5c14f8743b128a6b2
commit: 123146665ac9426e106557f5c14f8743b128a6b2 [43/43] kernel/time: Add /dev/vmclock_host miscdev
config: um-randconfig-002-20260519 (https://download.01.org/0day-ci/archive/20260519/202605190528.ToAWmVmo-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260519/202605190528.ToAWmVmo-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605190528.ToAWmVmo-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/time/vmclock_host.c:19:
>> kernel/time/ntp_internal.h:18:26: warning: declaration of 'struct audit_ntp_data' will not be visible outside of this function [-Wvisibility]
18 | s32 *time_tai, struct audit_ntp_data *ad);
| ^
kernel/time/vmclock_host.c:48:1: warning: '/*' within block comment [-Wcomment]
48 | /*
| ^
kernel/time/vmclock_host.c:65:19: warning: unused variable 'need' [-Wunused-variable]
65 | int bits_so_far, need;
| ^~~~
3 warnings generated.
vim +18 kernel/time/ntp_internal.h
aa6f9c595d8573 John Stultz 2013-03-22 4
aa6f9c595d8573 John Stultz 2013-03-22 5 extern void ntp_init(void);
123146665ac942 David Woodhouse 2026-05-17 6 extern int ntp_get_status(void);
123146665ac942 David Woodhouse 2026-05-17 7 extern int ntp_get_time_state(void);
5ffa25f573cf52 Thomas Gleixner 2025-05-19 8 extern void ntp_clear(unsigned int tkid);
aa6f9c595d8573 John Stultz 2013-03-22 9 /* Returns how long ticks are at present, in ns / 2^NTP_SCALE_SHIFT. */
5ffa25f573cf52 Thomas Gleixner 2025-05-19 10 extern u64 ntp_tick_length(unsigned int tkid);
62941377ae6950 David Woodhouse 2026-05-18 11 extern s64 ntp_get_skew_delta(unsigned int tkid);
62941377ae6950 David Woodhouse 2026-05-18 12 extern s64 ntp_drain_time_offset(unsigned int tkid, s64 amount);
3bb3f3d284811d David Woodhouse 2026-05-18 13 extern void ntp_set_time_offset(unsigned int tkid, s64 offset_ns);
8f592fb554b22b David Woodhouse 2026-05-15 14 extern void ntp_set_tick_length(unsigned int tkid, u64 tick_length);
5ffa25f573cf52 Thomas Gleixner 2025-05-19 15 extern ktime_t ntp_get_next_leap(unsigned int tkid);
5ffa25f573cf52 Thomas Gleixner 2025-05-19 16 extern int second_overflow(unsigned int tkid, time64_t secs);
c7ebfbc440151a Thomas Gleixner 2025-05-19 17 extern int ntp_adjtimex(unsigned int tkid, struct __kernel_timex *txc, const struct timespec64 *ts,
7e8eda734d30de Ondrej Mosnacek 2019-04-10 @18 s32 *time_tai, struct audit_ntp_data *ad);
985e695074d357 Ondrej Mosnacek 2018-07-13 19 extern void __hardpps(const struct timespec64 *phase_ts, const struct timespec64 *raw_ts);
c9e6189fb03123 Thomas Gleixner 2020-12-06 20
:::::: The code at line 18 was first introduced by commit
:::::: 7e8eda734d30de81d06a949c9bf9853c445ede4e ntp: Audit NTP parameters adjustment
:::::: TO: Ondrej Mosnacek <omosnace@redhat.com>
:::::: CC: Paul Moore <paul@paul-moore.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-19 2:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-18 22:42 [dwmw2:ffclock 43/43] kernel/time/ntp_internal.h:18:26: warning: declaration of 'struct audit_ntp_data' will not be visible outside of this function kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox