lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 10 Sep 2022 20:37:48 +0800
From:   kernel test robot <lkp@...el.com>
To:     Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [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

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@...el.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@...ux.intel.com>
:::::: CC: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ