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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202103101224.KCoztVQ5-lkp@intel.com>
Date:   Wed, 10 Mar 2021 12:39:02 +0800
From:   kernel test robot <lkp@...el.com>
To:     Daniel Lezcano <daniel.lezcano@...aro.org>, rafael@...nel.org
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        linux-pm@...r.kernel.org, lukasz.luba@....com
Subject: Re: [PATCH v2 5/5] powercap/drivers/dtpm: Scale the power with the
 load

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: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-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=arm64 

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

All warnings (new ones prefixed by >>):

   In file included from arch/arm64/include/asm/numa.h:5,
                    from arch/arm64/include/asm/mmzone.h:7,
                    from include/linux/mmzone.h:1037,
                    from include/linux/gfp.h:6,
                    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/arm64/include/asm/topology.h:36:33: warning: 'cpu' is used uninitialized in this function [-Wuninitialized]
      36 | #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 +36 arch/arm64/include/asm/topology.h

4e63ebe50d456d Dietmar Eggemann 2017-09-26  34  
431ead0ff19b44 Dietmar Eggemann 2017-09-26  35  /* Replace task scheduler's default cpu-invariant accounting */
431ead0ff19b44 Dietmar Eggemann 2017-09-26 @36  #define arch_scale_cpu_capacity topology_get_cpu_scale
431ead0ff19b44 Dietmar Eggemann 2017-09-26  37  

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

Download attachment ".config.gz" of type "application/gzip" (76878 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ