linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Like Xu <like.xu@linux.intel.com>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: [linux-next:master 10989/11651] arch/x86/kvm/pmu.h:20:32: warning: 'vmx_icl_pebs_cpu' defined but not used
Date: Fri, 13 May 2022 22:26:46 +0800	[thread overview]
Message-ID: <202205132242.pju6AukG-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   1e1b28b936aed946122b4e0991e7144fdbbfd77e
commit: a095df2c5f48f577c75ef183ad35703667a30ce4 [10989/11651] KVM: x86/pmu: Adjust precise_ip to emulate Ice Lake guest PDIR counter
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220513/202205132242.pju6AukG-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a095df2c5f48f577c75ef183ad35703667a30ce4
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout a095df2c5f48f577c75ef183ad35703667a30ce4
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from arch/x86/kvm/x86.c:29:
>> arch/x86/kvm/pmu.h:20:32: warning: 'vmx_icl_pebs_cpu' defined but not used [-Wunused-const-variable=]
      20 | static const struct x86_cpu_id vmx_icl_pebs_cpu[] = {
         |                                ^~~~~~~~~~~~~~~~


vim +/vmx_icl_pebs_cpu +20 arch/x86/kvm/pmu.h

    19	
  > 20	static const struct x86_cpu_id vmx_icl_pebs_cpu[] = {
    21		X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D, NULL),
    22		X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X, NULL),
    23		{}
    24	};
    25	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp


                 reply	other threads:[~2022-05-13 14:27 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=202205132242.pju6AukG-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=like.xu@linux.intel.com \
    --cc=linux-mm@kvack.org \
    --cc=pbonzini@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox