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]
Message-ID: <202201122335.B7ADTynl-lkp@intel.com>
Date:   Wed, 12 Jan 2022 23:19:18 +0800
From:   kernel test robot <lkp@...el.com>
To:     Damien Le Moal <damien.lemoal@...nsource.wdc.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Hannes Reinecke <hare@...e.de>
Subject: [dlemoal-libata:for-next 85/106] drivers/ata/ahci_st.c:233:34:
 warning: unused variable 'st_ahci_match'

Hi Damien,

First bad commit (maybe != root cause):

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata.git for-next
head:   7914e9624dd7ce17d3d3b1dcd6c3fe5d366b228c
commit: 3e7a673b5674512efdcd9ec5ff154ee697c3f7ef [85/106] ata: ahci_st: add compile test support
config: hexagon-buildonly-randconfig-r005-20220112 (https://download.01.org/0day-ci/archive/20220112/202201122335.B7ADTynl-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 244dd2913a43a200f5a6544d424cdc37b771028b)
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://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata.git/commit/?id=3e7a673b5674512efdcd9ec5ff154ee697c3f7ef
        git remote add dlemoal-libata git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata.git
        git fetch --no-tags dlemoal-libata for-next
        git checkout 3e7a673b5674512efdcd9ec5ff154ee697c3f7ef
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/ata/

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 >>):

>> drivers/ata/ahci_st.c:233:34: warning: unused variable 'st_ahci_match' [-Wunused-const-variable]
   static const struct of_device_id st_ahci_match[] = {
                                    ^
   1 warning generated.


vim +/st_ahci_match +233 drivers/ata/ahci_st.c

76884cb2f7da52 Lee Jones    2014-02-26  232  
09de99db23df55 Kiran Padwal 2014-07-22 @233  static const struct of_device_id st_ahci_match[] = {
76884cb2f7da52 Lee Jones    2014-02-26  234  	{ .compatible = "st,ahci", },
76884cb2f7da52 Lee Jones    2014-02-26  235  	{},
76884cb2f7da52 Lee Jones    2014-02-26  236  };
76884cb2f7da52 Lee Jones    2014-02-26  237  MODULE_DEVICE_TABLE(of, st_ahci_match);
76884cb2f7da52 Lee Jones    2014-02-26  238  

:::::: The code at line 233 was first introduced by commit
:::::: 09de99db23df55c7415d110f6c62281dedd77384 ahci: st: Make of_device_id array const

:::::: TO: Kiran Padwal <kiran.padwal21@...il.com>
:::::: CC: Tejun Heo <tj@...nel.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ