All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [thomas-weissschuh:b4/vdso-sparc64-generic-2 39/39] drivers/clocksource/hyperv_timer.c:489:9: error: implicit declaration of function 'vclocks_set_used'
Date: Wed, 17 Sep 2025 22:23:41 +0800	[thread overview]
Message-ID: <202509172222.r8AzXIcn-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-09-17 14:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202509172222.r8AzXIcn-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=thomas.weissschuh@linutronix.de \
    /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 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.