All of lore.kernel.org
 help / color / mirror / Atom feed
* [dlemoal-libata:for-next 85/106] drivers/ata/ahci_st.c:233:34: warning: unused variable 'st_ahci_match'
@ 2022-01-12 15:19 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-12 15:19 UTC (permalink / raw)
  To: Damien Le Moal; +Cc: llvm, kbuild-all, linux-kernel, Hannes Reinecke

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@intel.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@gmail.com>
:::::: CC: Tejun Heo <tj@kernel.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dlemoal-libata:for-next 85/106] drivers/ata/ahci_st.c:233:34: warning: unused variable 'st_ahci_match'
@ 2022-01-12 15:19 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-12 15:19 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2528 bytes --]

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(a)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@intel.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@gmail.com>
:::::: CC: Tejun Heo <tj@kernel.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-12 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-12 15:19 [dlemoal-libata:for-next 85/106] drivers/ata/ahci_st.c:233:34: warning: unused variable 'st_ahci_match' kernel test robot
2022-01-12 15:19 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.