* [dwmw2:hardpps-filter-p3-wip 7/8] kernel/time/ntp.c:175:2: error: call to undeclared function 'pps_fit_reset'; ISO C99 and later do not support implicit function declarations
@ 2026-10-05 9:09 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-05 9:09 UTC (permalink / raw)
To: David Woodhouse; +Cc: llvm, oe-kbuild-all
tree: git://git.infradead.org/users/dwmw2/linux hardpps-filter-p3-wip
head: 24b5bb6499c7dcc715bf50f768bc24b50f9cc631
commit: f04f156f18471fef43c99e5ef017165b43f34e7a [7/8] ntp: Estimate PPS frequency by least-squares fit over the interval
config: x86_64-buildonly-randconfig-1004-20261005 (https://download.01.org/0day-ci/archive/20261005/202610051707.7zfdNyut-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261005/202610051707.7zfdNyut-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/202610051707.7zfdNyut-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/time/ntp.c:175:2: error: call to undeclared function 'pps_fit_reset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
175 | pps_fit_reset(ntpdata);
| ^
>> kernel/time/ntp.c:1244:13: error: conflicting types for 'pps_fit_reset'
1244 | static void pps_fit_reset(struct ntp_data *ntpdata)
| ^
kernel/time/ntp.c:175:2: note: previous implicit declaration is here
175 | pps_fit_reset(ntpdata);
| ^
2 errors generated.
vim +/pps_fit_reset +175 kernel/time/ntp.c
162
163 /**
164 * pps_clear - Clears the PPS state variables
165 * @ntpdata: Pointer to ntp data
166 */
167 static inline void pps_clear(struct ntp_data *ntpdata)
168 {
169 pps_reset_freq_interval(ntpdata);
170 ntpdata->pps_tf[0] = 0;
171 ntpdata->pps_tf[1] = 0;
172 ntpdata->pps_tf[2] = 0;
173 ntpdata->pps_fbase.tv_sec = ntpdata->pps_fbase.tv_nsec = 0;
174 ntpdata->pps_rawring_n = 0;
> 175 pps_fit_reset(ntpdata);
176 ntpdata->pps_freq = 0;
177 }
178
--
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-10-05 9:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-05 9:09 [dwmw2:hardpps-filter-p3-wip 7/8] kernel/time/ntp.c:175:2: error: call to undeclared function 'pps_fit_reset'; ISO C99 and later do not support implicit function declarations kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.