All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Xin3 Li <xin3.li@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [xinli-intel-fred-public:rdpmc_cleanup 6/6] drivers/net/vmxnet3/vmxnet3_drv.c:150:16: error: implicit declaration of function 'native_rdpmcq'
Date: Sun, 20 Apr 2025 22:35:29 +0800	[thread overview]
Message-ID: <202504202211.q7GyLTag-lkp@intel.com> (raw)

tree:   https://github.com/xinli-intel/linux-fred-public.git rdpmc_cleanup
head:   2daa371015bd327aafaa0e7d9982d3060b1cae62
commit: 2daa371015bd327aafaa0e7d9982d3060b1cae62 [6/6] x86/msr: Use the alternatives mechanism to read PMC
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20250420/202504202211.q7GyLTag-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250420/202504202211.q7GyLTag-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/202504202211.q7GyLTag-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/net/vmxnet3/vmxnet3_drv.c: In function 'vmxnet3_get_cycles':
>> drivers/net/vmxnet3/vmxnet3_drv.c:150:16: error: implicit declaration of function 'native_rdpmcq' [-Werror=implicit-function-declaration]
     150 |         return native_rdpmcq(pmc);
         |                ^~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/native_rdpmcq +150 drivers/net/vmxnet3/vmxnet3_drv.c

   145	
   146	static u64
   147	vmxnet3_get_cycles(int pmc)
   148	{
   149	#ifdef CONFIG_X86
 > 150		return native_rdpmcq(pmc);
   151	#else
   152		return 0;
   153	#endif
   154	}
   155	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2025-04-20 14:36 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=202504202211.q7GyLTag-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=xin3.li@intel.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 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.