All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:sched/core 12/18] arch/x86/events/core.c:1741:10: error: 'struct x86_pmu' has no member named 'cpumask_test_cpu'
@ 2021-01-21 19:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-21 19:43 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2498 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/core
head:   f3e7d21678b84e816a240db49c6676f53b825166
commit: c0b4fe8499e1c3f39e8f80a43e72cb9b9f95444b [12/18] cpumask: Introduce DYING mask
config: i386-randconfig-s002-20210121 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-208-g46a52ca4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=c0b4fe8499e1c3f39e8f80a43e72cb9b9f95444b
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue sched/core
        git checkout c0b4fe8499e1c3f39e8f80a43e72cb9b9f95444b
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

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

All errors (new ones prefixed by >>):

   arch/x86/events/core.c: In function 'x86_pmu_dying_cpu':
>> arch/x86/events/core.c:1741:10: error: 'struct x86_pmu' has no member named 'cpumask_test_cpu'
    1741 |   x86_pmu.cpu_dying(cpu);
         |          ^


vim +1741 arch/x86/events/core.c

3f6da3905398826d arch/x86/kernel/cpu/perf_event.c Peter Zijlstra  2010-03-05  1737  
95ca792c7582fde2 arch/x86/events/core.c           Thomas Gleixner 2016-07-13  1738  static int x86_pmu_dying_cpu(unsigned int cpu)
95ca792c7582fde2 arch/x86/events/core.c           Thomas Gleixner 2016-07-13  1739  {
95ca792c7582fde2 arch/x86/events/core.c           Thomas Gleixner 2016-07-13  1740  	if (x86_pmu.cpu_dying)
95ca792c7582fde2 arch/x86/events/core.c           Thomas Gleixner 2016-07-13 @1741  		x86_pmu.cpu_dying(cpu);
95ca792c7582fde2 arch/x86/events/core.c           Thomas Gleixner 2016-07-13  1742  	return 0;
3f6da3905398826d arch/x86/kernel/cpu/perf_event.c Peter Zijlstra  2010-03-05  1743  }
3f6da3905398826d arch/x86/kernel/cpu/perf_event.c Peter Zijlstra  2010-03-05  1744  

:::::: The code at line 1741 was first introduced by commit
:::::: 95ca792c7582fde2c435f84cbe872616e3c951f6 perf/x86: Convert the core to the hotplug state machine

:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Ingo Molnar <mingo@kernel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38732 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-21 19:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 19:43 [peterz-queue:sched/core 12/18] arch/x86/events/core.c:1741:10: error: 'struct x86_pmu' has no member named 'cpumask_test_cpu' 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.