All of lore.kernel.org
 help / color / mirror / Atom feed
* [thomas-weissschuh:b4/vdso-sparc64-generic-2 39/39] drivers/clocksource/hyperv_timer.c:489:9: error: implicit declaration of function 'vclocks_set_used'
@ 2025-09-17 14:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-09-17 14:23 UTC (permalink / raw)
  To: Thomas Weißschuh; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/vdso-sparc64-generic-2
head:   01bb38cc8c3f4afd2a1e37d78963ab031921761b
commit: 01bb38cc8c3f4afd2a1e37d78963ab031921761b [39/39] clocksource: drop include of asm/clocksource.h from linux/clocksource.h
config: x86_64-buildonly-randconfig-006-20250917 (https://download.01.org/0day-ci/archive/20250917/202509172222.r8AzXIcn-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.4.0-5) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250917/202509172222.r8AzXIcn-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/202509172222.r8AzXIcn-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/clocksource/hyperv_timer.c: In function 'hv_cs_enable':
>> drivers/clocksource/hyperv_timer.c:489:9: error: implicit declaration of function 'vclocks_set_used' [-Werror=implicit-function-declaration]
     489 |         vclocks_set_used(VDSO_CLOCKMODE_HVCLOCK);
         |         ^~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/vclocks_set_used +489 drivers/clocksource/hyperv_timer.c

bcc80dec91ee74 Naman Jain       2024-09-17  485  
3486d2c9be652a Vitaly Kuznetsov 2021-05-13  486  #ifdef HAVE_VDSO_CLOCKMODE_HVCLOCK
eec399dd862762 Thomas Gleixner  2020-02-07  487  static int hv_cs_enable(struct clocksource *cs)
eec399dd862762 Thomas Gleixner  2020-02-07  488  {
e4ab4658f1cff1 Michael Kelley   2021-03-02 @489  	vclocks_set_used(VDSO_CLOCKMODE_HVCLOCK);
eec399dd862762 Thomas Gleixner  2020-02-07  490  	return 0;
eec399dd862762 Thomas Gleixner  2020-02-07  491  }
e4ab4658f1cff1 Michael Kelley   2021-03-02  492  #endif
eec399dd862762 Thomas Gleixner  2020-02-07  493  

:::::: The code at line 489 was first introduced by commit
:::::: e4ab4658f1cff14c82202132f7af2cb5c2741469 clocksource/drivers/hyper-v: Handle vDSO differences inline

:::::: TO: Michael Kelley <mikelley@microsoft.com>
:::::: CC: Wei Liu <wei.liu@kernel.org>

-- 
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:[~2025-09-17 14:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-17 14:23 [thomas-weissschuh:b4/vdso-sparc64-generic-2 39/39] drivers/clocksource/hyperv_timer.c:489:9: error: implicit declaration of function 'vclocks_set_used' 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.