linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/pci/controller/dwc/pci-keystone.c:1127:34: warning: unused variable 'ks_pcie_of_match'
@ 2021-03-04 11:40 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-03-04 11:40 UTC (permalink / raw)
  To: Alex Dewar; +Cc: clang-built-linux, linux-kernel, Lorenzo Pieralisi

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

Hi Alex,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f69d02e37a85645aa90d18cacfff36dba370f797
commit: 476b70b4d1adff4465e9ff68021c52858555ac28 PCI: keystone: Enable compile-testing on !ARM
date:   4 months ago
config: mips-randconfig-r033-20210304 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project eec7f8f7b1226be422a76542cb403d02538f453a)
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
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=476b70b4d1adff4465e9ff68021c52858555ac28
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 476b70b4d1adff4465e9ff68021c52858555ac28
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips 

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/pci/controller/dwc/pci-keystone.c:1127:34: warning: unused variable 'ks_pcie_of_match' [-Wunused-const-variable]
   static const struct of_device_id ks_pcie_of_match[] = {
                                    ^
   1 warning generated.


vim +/ks_pcie_of_match +1127 drivers/pci/controller/dwc/pci-keystone.c

18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1126  
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25 @1127  static const struct of_device_id ks_pcie_of_match[] = {
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1128  	{
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1129  		.type = "pci",
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1130  		.data = &ks_pcie_rc_of_data,
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1131  		.compatible = "ti,keystone-pcie",
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1132  	},
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1133  	{
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1134  		.data = &ks_pcie_am654_rc_of_data,
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1135  		.compatible = "ti,am654-pcie-rc",
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1136  	},
23284ad677a94f Kishon Vijay Abraham I 2019-03-25  1137  	{
23284ad677a94f Kishon Vijay Abraham I 2019-03-25  1138  		.data = &ks_pcie_am654_ep_of_data,
23284ad677a94f Kishon Vijay Abraham I 2019-03-25  1139  		.compatible = "ti,am654-pcie-ep",
23284ad677a94f Kishon Vijay Abraham I 2019-03-25  1140  	},
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1141  	{ },
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1142  };
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1143  

:::::: The code at line 1127 was first introduced by commit
:::::: 18b0415bc802a8bab5dedba5ae2757e83259e6ee PCI: keystone: Add support for PCIe RC in AM654x Platforms

:::::: TO: Kishon Vijay Abraham I <kishon@ti.com>
:::::: CC: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26754 bytes --]

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

* drivers/pci/controller/dwc/pci-keystone.c:1127:34: warning: unused variable 'ks_pcie_of_match'
@ 2021-11-25 16:47 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-11-25 16:47 UTC (permalink / raw)
  To: Alex Dewar; +Cc: llvm, kbuild-all, linux-kernel, Lorenzo Pieralisi

Hi Alex,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5f53fa508db098c9d372423a6dac31c8a5679cdf
commit: 476b70b4d1adff4465e9ff68021c52858555ac28 PCI: keystone: Enable compile-testing on !ARM
date:   1 year ago
config: x86_64-buildonly-randconfig-r004-20211118 (https://download.01.org/0day-ci/archive/20211126/202111260033.s4hA7CmO-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c46becf500df2a7fb4b4fce16178a036c344315a)
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/torvalds/linux.git/commit/?id=476b70b4d1adff4465e9ff68021c52858555ac28
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 476b70b4d1adff4465e9ff68021c52858555ac28
        # save the config file to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

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/pci/controller/dwc/pci-keystone.c:1127:34: warning: unused variable 'ks_pcie_of_match' [-Wunused-const-variable]
   static const struct of_device_id ks_pcie_of_match[] = {
                                    ^
   1 warning generated.


vim +/ks_pcie_of_match +1127 drivers/pci/controller/dwc/pci-keystone.c

18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1126  
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25 @1127  static const struct of_device_id ks_pcie_of_match[] = {
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1128  	{
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1129  		.type = "pci",
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1130  		.data = &ks_pcie_rc_of_data,
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1131  		.compatible = "ti,keystone-pcie",
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1132  	},
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1133  	{
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1134  		.data = &ks_pcie_am654_rc_of_data,
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1135  		.compatible = "ti,am654-pcie-rc",
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1136  	},
23284ad677a94f2 Kishon Vijay Abraham I 2019-03-25  1137  	{
23284ad677a94f2 Kishon Vijay Abraham I 2019-03-25  1138  		.data = &ks_pcie_am654_ep_of_data,
23284ad677a94f2 Kishon Vijay Abraham I 2019-03-25  1139  		.compatible = "ti,am654-pcie-ep",
23284ad677a94f2 Kishon Vijay Abraham I 2019-03-25  1140  	},
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1141  	{ },
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1142  };
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1143  

:::::: The code at line 1127 was first introduced by commit
:::::: 18b0415bc802a8bab5dedba5ae2757e83259e6ee PCI: keystone: Add support for PCIe RC in AM654x Platforms

:::::: TO: Kishon Vijay Abraham I <kishon@ti.com>
:::::: CC: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>

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

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

* drivers/pci/controller/dwc/pci-keystone.c:1127:34: warning: unused variable 'ks_pcie_of_match'
@ 2021-03-12 20:39 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-03-12 20:39 UTC (permalink / raw)
  To: Alex Dewar; +Cc: kbuild-all, clang-built-linux, linux-kernel, Lorenzo Pieralisi

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

Hi Alex,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   344178334b0971a1ad5f36b76d7b739400e46ec6
commit: 476b70b4d1adff4465e9ff68021c52858555ac28 PCI: keystone: Enable compile-testing on !ARM
date:   4 months ago
config: x86_64-randconfig-a012-20210313 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 7b153b43d3a14d76975039408c4b922beb576735)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=476b70b4d1adff4465e9ff68021c52858555ac28
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 476b70b4d1adff4465e9ff68021c52858555ac28
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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/pci/controller/dwc/pci-keystone.c:1127:34: warning: unused variable 'ks_pcie_of_match' [-Wunused-const-variable]
   static const struct of_device_id ks_pcie_of_match[] = {
                                    ^
   1 warning generated.


vim +/ks_pcie_of_match +1127 drivers/pci/controller/dwc/pci-keystone.c

18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1126  
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25 @1127  static const struct of_device_id ks_pcie_of_match[] = {
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1128  	{
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1129  		.type = "pci",
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1130  		.data = &ks_pcie_rc_of_data,
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1131  		.compatible = "ti,keystone-pcie",
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1132  	},
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1133  	{
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1134  		.data = &ks_pcie_am654_rc_of_data,
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1135  		.compatible = "ti,am654-pcie-rc",
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1136  	},
23284ad677a94f Kishon Vijay Abraham I 2019-03-25  1137  	{
23284ad677a94f Kishon Vijay Abraham I 2019-03-25  1138  		.data = &ks_pcie_am654_ep_of_data,
23284ad677a94f Kishon Vijay Abraham I 2019-03-25  1139  		.compatible = "ti,am654-pcie-ep",
23284ad677a94f Kishon Vijay Abraham I 2019-03-25  1140  	},
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1141  	{ },
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1142  };
18b0415bc802a8 Kishon Vijay Abraham I 2019-03-25  1143  

:::::: The code at line 1127 was first introduced by commit
:::::: 18b0415bc802a8bab5dedba5ae2757e83259e6ee PCI: keystone: Add support for PCIe RC in AM654x Platforms

:::::: TO: Kishon Vijay Abraham I <kishon@ti.com>
:::::: CC: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36890 bytes --]

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

* drivers/pci/controller/dwc/pci-keystone.c:1127:34: warning: unused variable 'ks_pcie_of_match'
@ 2020-12-31  2:20 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-12-31  2:20 UTC (permalink / raw)
  To: Alex Dewar; +Cc: kbuild-all, clang-built-linux, linux-kernel, Lorenzo Pieralisi

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f6e1ea19649216156576aeafa784e3b4cee45549
commit: 476b70b4d1adff4465e9ff68021c52858555ac28 PCI: keystone: Enable compile-testing on !ARM
date:   6 weeks ago
config: x86_64-randconfig-a001-20201231 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 3c0d36f977d9e012b245c796ddc8596ac3af659b)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=476b70b4d1adff4465e9ff68021c52858555ac28
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 476b70b4d1adff4465e9ff68021c52858555ac28
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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/pci/controller/dwc/pci-keystone.c:1127:34: warning: unused variable 'ks_pcie_of_match' [-Wunused-const-variable]
   static const struct of_device_id ks_pcie_of_match[] = {
                                    ^
   1 warning generated.


vim +/ks_pcie_of_match +1127 drivers/pci/controller/dwc/pci-keystone.c

18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1126  
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25 @1127  static const struct of_device_id ks_pcie_of_match[] = {
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1128  	{
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1129  		.type = "pci",
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1130  		.data = &ks_pcie_rc_of_data,
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1131  		.compatible = "ti,keystone-pcie",
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1132  	},
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1133  	{
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1134  		.data = &ks_pcie_am654_rc_of_data,
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1135  		.compatible = "ti,am654-pcie-rc",
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1136  	},
23284ad677a94f2 Kishon Vijay Abraham I 2019-03-25  1137  	{
23284ad677a94f2 Kishon Vijay Abraham I 2019-03-25  1138  		.data = &ks_pcie_am654_ep_of_data,
23284ad677a94f2 Kishon Vijay Abraham I 2019-03-25  1139  		.compatible = "ti,am654-pcie-ep",
23284ad677a94f2 Kishon Vijay Abraham I 2019-03-25  1140  	},
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1141  	{ },
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1142  };
18b0415bc802a8b Kishon Vijay Abraham I 2019-03-25  1143  

:::::: The code at line 1127 was first introduced by commit
:::::: 18b0415bc802a8bab5dedba5ae2757e83259e6ee PCI: keystone: Add support for PCIe RC in AM654x Platforms

:::::: TO: Kishon Vijay Abraham I <kishon@ti.com>
:::::: CC: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39556 bytes --]

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

end of thread, other threads:[~2021-11-25 16:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 11:40 drivers/pci/controller/dwc/pci-keystone.c:1127:34: warning: unused variable 'ks_pcie_of_match' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-11-25 16:47 kernel test robot
2021-03-12 20:39 kernel test robot
2020-12-31  2:20 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).