All of lore.kernel.org
 help / color / mirror / Atom feed
* [dwmw2:hardpps-filter-p3-wip 7/8] kernel/time/ntp.c:175:9: error: implicit declaration of function 'pps_fit_reset'
@ 2026-10-05  6:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-05  6:35 UTC (permalink / raw)
  To: David Woodhouse; +Cc: 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: m68k-defconfig (https://download.01.org/0day-ci/archive/20261005/202610051451.E6GGdAVP-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261005/202610051451.E6GGdAVP-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/202610051451.E6GGdAVP-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   kernel/time/ntp.c: In function 'pps_clear':
>> kernel/time/ntp.c:175:9: error: implicit declaration of function 'pps_fit_reset' [-Wimplicit-function-declaration]
     175 |         pps_fit_reset(ntpdata);
         |         ^~~~~~~~~~~~~
   kernel/time/ntp.c: At top level:
>> kernel/time/ntp.c:1244:13: warning: conflicting types for 'pps_fit_reset'; have 'void(struct ntp_data *)'
    1244 | static void pps_fit_reset(struct ntp_data *ntpdata)
         |             ^~~~~~~~~~~~~
>> kernel/time/ntp.c:1244:13: error: static declaration of 'pps_fit_reset' follows non-static declaration
   kernel/time/ntp.c:175:9: note: previous implicit declaration of 'pps_fit_reset' with type 'void(struct ntp_data *)'
     175 |         pps_fit_reset(ntpdata);
         |         ^~~~~~~~~~~~~


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  6:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-05  6:35 [dwmw2:hardpps-filter-p3-wip 7/8] kernel/time/ntp.c:175:9: error: implicit declaration of function 'pps_fit_reset' 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.