Hi Daniel, I love your patch! Perhaps something to improve: [auto build test WARNING on pm/linux-next] [also build test WARNING on linux/master linus/master v5.12-rc2 next-20210309] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Daniel-Lezcano/powercap-drivers-dtpm-Encapsulate-even-more-the-code/20210310-064505 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next config: arm-allyesconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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/0day-ci/linux/commit/195420841883f38897ba1e10ff70641dab0191ba git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Daniel-Lezcano/powercap-drivers-dtpm-Encapsulate-even-more-the-code/20210310-064505 git checkout 195420841883f38897ba1e10ff70641dab0191ba # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/linux/topology.h:36, from include/linux/gfp.h:9, from include/linux/xarray.h:14, from include/linux/radix-tree.h:19, from include/linux/idr.h:15, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/cpufreq.h:14, from drivers/powercap/dtpm_cpu.c:20: drivers/powercap/dtpm_cpu.c: In function 'scale_pd_power_uw': >> arch/arm/include/asm/topology.h:19:33: warning: 'cpu' is used uninitialized in this function [-Wuninitialized] 19 | #define arch_scale_cpu_capacity topology_get_cpu_scale | ^~~~~~~~~~~~~~~~~~~~~~ drivers/powercap/dtpm_cpu.c:74:6: note: 'cpu' was declared here 74 | int cpu; | ^~~ vim +/cpu +19 arch/arm/include/asm/topology.h 3a1ed9cfaf2849 Dietmar Eggemann 2017-09-26 17 552c4653bf8914 Dietmar Eggemann 2017-09-26 18 /* Replace task scheduler's default cpu-invariant accounting */ 552c4653bf8914 Dietmar Eggemann 2017-09-26 @19 #define arch_scale_cpu_capacity topology_get_cpu_scale 552c4653bf8914 Dietmar Eggemann 2017-09-26 20 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org