mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [spandruvada:idle-inject 5/6] include/linux/idle_inject.h:14:56: warning: 'struct cpumask' declared inside parameter list will not be visible outside of this definition or declaration
@ 2022-09-10 12:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-10 12:37 UTC (permalink / raw)
  To: Srinivas Pandruvada; +Cc: kbuild-all, linux-kernel

tree:   https://github.com/spandruvada/linux-kernel idle-inject
head:   b950e6ec430b3996d5b58f365d094200e106878f
commit: c2ad2f95377b388ffe18d80edf2fc076c83f5b63 [5/6] thermal/drivers/intel_cpu_idle_cooling: Introduce Intel cpu idle cooling driver
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220910/202209102039.HdOycA8x-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/spandruvada/linux-kernel/commit/c2ad2f95377b388ffe18d80edf2fc076c83f5b63
        git remote add spandruvada https://github.com/spandruvada/linux-kernel
        git fetch --no-tags spandruvada idle-inject
        git checkout c2ad2f95377b388ffe18d80edf2fc076c83f5b63
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/thermal/intel/

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

All warnings (new ones prefixed by >>):

   In file included from drivers/thermal/intel/intel_cpu_idle_cooling.c:14:
>> include/linux/idle_inject.h:14:56: warning: 'struct cpumask' declared inside parameter list will not be visible outside of this definition or declaration
      14 | struct idle_inject_device *idle_inject_register(struct cpumask *cpumask,
         |                                                        ^~~~~~~
   drivers/thermal/intel/intel_cpu_idle_cooling.c:21:10: fatal error: asm/cpu_device_id.h: No such file or directory
      21 | #include <asm/cpu_device_id.h>
         |          ^~~~~~~~~~~~~~~~~~~~~
   compilation terminated.


vim +14 include/linux/idle_inject.h

88763a5cf80ca5 Daniel Lezcano      2018-06-26  13  
d3e687037f4c8d Srinivas Pandruvada 2022-09-07 @14  struct idle_inject_device *idle_inject_register(struct cpumask *cpumask,
d3e687037f4c8d Srinivas Pandruvada 2022-09-07  15  						int (*idle_inject_begin)(unsigned int cpu, unsigned int idle_duration, unsigned int run_duration),
d3e687037f4c8d Srinivas Pandruvada 2022-09-07  16  						void (*idle_inject_end)(unsigned int cpu));
88763a5cf80ca5 Daniel Lezcano      2018-06-26  17  

:::::: The code at line 14 was first introduced by commit
:::::: d3e687037f4c8d5ab6c71c645e3bb55b2e3fc3c7 powercap: idle_inject: Add begin/end callbacks

:::::: TO: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
:::::: CC: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>

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

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

only message in thread, other threads:[~2022-09-10 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-10 12:37 [spandruvada:idle-inject 5/6] include/linux/idle_inject.h:14:56: warning: 'struct cpumask' declared inside parameter list will not be visible outside of this definition or declaration kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®