From: kernel test robot <lkp@intel.com>
To: David Woodhouse <dwmw@amazon.co.uk>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [dwmw2:kvmclock6 35/36] arch/x86/kvm/x86.c:10237:28: warning: unused variable 'tk'
Date: Fri, 03 Jul 2026 14:22:40 +0800 [thread overview]
Message-ID: <202607031429.g83v1Wyf-lkp@intel.com> (raw)
tree: git://git.infradead.org/users/dwmw2/linux kvmclock6
head: e1c11e713bdc894d3acf634c88c78c65706e12a1
commit: a1e0928f3dd8d0151f2c55215bdb6717f95c1e40 [35/36] KVM: x86: Remove pvclock_gtod_data and private timekeeping code
config: i386-randconfig-r051-20260703 (https://download.01.org/0day-ci/archive/20260703/202607031429.g83v1Wyf-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260703/202607031429.g83v1Wyf-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/202607031429.g83v1Wyf-lkp@intel.com/
All warnings (new ones prefixed by >>):
arch/x86/kvm/x86.c: In function 'get_kvmclock':
arch/x86/kvm/x86.c:3304:1: warning: label 'fallback' defined but not used [-Wunused-label]
3304 | fallback:
| ^~~~~~~~
arch/x86/kvm/x86.c:3243:39: warning: unused variable 'hv_clock' [-Wunused-variable]
3243 | struct pvclock_vcpu_time_info hv_clock;
| ^~~~~~~~
arch/x86/kvm/x86.c: In function 'pvclock_gtod_notify':
>> arch/x86/kvm/x86.c:10237:28: warning: unused variable 'tk' [-Wunused-variable]
10237 | struct timekeeper *tk = priv;
| ^~
vim +/tk +10237 arch/x86/kvm/x86.c
3f804f6d201ca9 Thomas Gleixner 2021-05-06 10230
16e8d74d2da992 Marcelo Tosatti 2012-11-27 10231 /*
16e8d74d2da992 Marcelo Tosatti 2012-11-27 10232 * Notification about pvclock gtod data update.
16e8d74d2da992 Marcelo Tosatti 2012-11-27 10233 */
16e8d74d2da992 Marcelo Tosatti 2012-11-27 10234 static int pvclock_gtod_notify(struct notifier_block *nb, unsigned long unused,
16e8d74d2da992 Marcelo Tosatti 2012-11-27 10235 void *priv)
16e8d74d2da992 Marcelo Tosatti 2012-11-27 10236 {
16e8d74d2da992 Marcelo Tosatti 2012-11-27 @10237 struct timekeeper *tk = priv;
16e8d74d2da992 Marcelo Tosatti 2012-11-27 10238
16e8d74d2da992 Marcelo Tosatti 2012-11-27 10239
:::::: The code at line 10237 was first introduced by commit
:::::: 16e8d74d2da9920f874b10a3d979fb25c01f518f KVM: x86: notifier for clocksource changes
:::::: TO: Marcelo Tosatti <mtosatti@redhat.com>
:::::: CC: Marcelo Tosatti <mtosatti@redhat.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-07-03 6:23 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=202607031429.g83v1Wyf-lkp@intel.com \
--to=lkp@intel.com \
--cc=dwmw@amazon.co.uk \
--cc=oe-kbuild-all@lists.linux.dev \
/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.