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]
Date:   Tue, 12 Nov 2019 20:31:12 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Po Liu <po.liu@....com>
Cc:     kbuild-all@...ts.01.org, Claudiu Manoil <claudiu.manoil@....com>,
        "davem@...emloft.net" <davem@...emloft.net>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "vinicius.gomes@...el.com" <vinicius.gomes@...el.com>,
        Po Liu <po.liu@....com>,
        Vladimir Oltean <vladimir.oltean@....com>,
        Alexandru Marginean <alexandru.marginean@....com>,
        Xiaoliang Yang <xiaoliang.yang_1@....com>,
        Roy Zang <roy.zang@....com>, Mingkai Hu <mingkai.hu@....com>,
        Jerry Huang <jerry.huang@....com>, Leo Li <leoyang.li@....com>
Subject: Re: [net-next, 1/2] enetc: Configure the Time-Aware Scheduler via
 tc-taprio offload

Hi Po,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on net-next/master]
[also build test WARNING on v5.4-rc7 next-20191111]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Po-Liu/enetc-Configure-the-Time-Aware-Scheduler-via-tc-taprio-offload/20191112-193235
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git ca22d6977b9b4ab0fd2e7909b57e32ba5b95046f
config: s390-allmodconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=s390 

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

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

   In file included from arch/s390/include/asm/io.h:76:0,
                    from include/linux/io.h:13,
                    from include/linux/pci.h:39,
                    from drivers/net/ethernet/freescale/enetc/enetc.h:5,
                    from drivers/net/ethernet/freescale/enetc/enetc_qos.c:4:
   drivers/net/ethernet/freescale/enetc/enetc_qos.c: In function 'enetc_setup_tc_taprio':
>> include/asm-generic/io.h:735:19: warning: 'temp' may be used uninitialized in this function [-Wmaybe-uninitialized]
    #define iowrite32 iowrite32
                      ^~~~~~~~~
   drivers/net/ethernet/freescale/enetc/enetc_qos.c:25:6: note: 'temp' was declared here
     u32 temp;
         ^~~~
--
   In file included from arch/s390/include/asm/io.h:76:0,
                    from include/linux/io.h:13,
                    from include/linux/pci.h:39,
                    from drivers/net//ethernet/freescale/enetc/enetc.h:5,
                    from drivers/net//ethernet/freescale/enetc/enetc_qos.c:4:
   drivers/net//ethernet/freescale/enetc/enetc_qos.c: In function 'enetc_setup_tc_taprio':
>> include/asm-generic/io.h:735:19: warning: 'temp' may be used uninitialized in this function [-Wmaybe-uninitialized]
    #define iowrite32 iowrite32
                      ^~~~~~~~~
   drivers/net//ethernet/freescale/enetc/enetc_qos.c:25:6: note: 'temp' was declared here
     u32 temp;
         ^~~~

vim +/temp +735 include/asm-generic/io.h

9216efafc52ff9 Thierry Reding 2014-10-01  733  
9216efafc52ff9 Thierry Reding 2014-10-01  734  #ifndef iowrite32
9216efafc52ff9 Thierry Reding 2014-10-01 @735  #define iowrite32 iowrite32
9216efafc52ff9 Thierry Reding 2014-10-01  736  static inline void iowrite32(u32 value, volatile void __iomem *addr)
9216efafc52ff9 Thierry Reding 2014-10-01  737  {
9216efafc52ff9 Thierry Reding 2014-10-01  738  	writel(value, addr);
9216efafc52ff9 Thierry Reding 2014-10-01  739  }
9216efafc52ff9 Thierry Reding 2014-10-01  740  #endif
9216efafc52ff9 Thierry Reding 2014-10-01  741  

:::::: The code at line 735 was first introduced by commit
:::::: 9216efafc52ff99e9351ef60de5fcafc2bc8adb6 asm-generic/io.h: Reconcile I/O accessor overrides

:::::: TO: Thierry Reding <treding@...dia.com>
:::::: CC: Thierry Reding <treding@...dia.com>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ