linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/gpu/drm/rockchip/rockchip_vop_reg.c:1029:34: warning: unused variable 'vop_driver_dt_match'
@ 2021-08-04 20:17 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-08-04 20:17 UTC (permalink / raw)
  To: Robin Murphy; +Cc: clang-built-linux, kbuild-all, linux-kernel, Joerg Roedel

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

Hi Robin,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d5ad8ec3cfb56a017de6a784835666475b4be349
commit: b4ceb4a5359ed1c9ba4a20acf3a70d4bbead3248 iommu: Tidy up Kconfig for SoC IOMMUs
date:   1 year, 1 month ago
config: x86_64-buildonly-randconfig-r001-20210804 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4f71f59bf3d9914188a11d0c41bedbb339d36ff5)
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=b4ceb4a5359ed1c9ba4a20acf3a70d4bbead3248
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout b4ceb4a5359ed1c9ba4a20acf3a70d4bbead3248
        # 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/gpu/drm/rockchip/rockchip_vop_reg.c:1029:34: warning: unused variable 'vop_driver_dt_match' [-Wunused-const-variable]
   static const struct of_device_id vop_driver_dt_match[] = {
                                    ^
   1 warning generated.


vim +/vop_driver_dt_match +1029 drivers/gpu/drm/rockchip/rockchip_vop_reg.c

eb5cb6aa9a72a7 Mark Yao       2017-07-26  1028  
a67719d182291b Mark Yao       2015-12-15 @1029  static const struct of_device_id vop_driver_dt_match[] = {
f7673453506035 Mark Yao       2015-12-15  1030  	{ .compatible = "rockchip,rk3036-vop",
f7673453506035 Mark Yao       2015-12-15  1031  	  .data = &rk3036_vop },
460c3b0029923a Sandy Huang    2017-11-14  1032  	{ .compatible = "rockchip,rk3126-vop",
460c3b0029923a Sandy Huang    2017-11-14  1033  	  .data = &rk3126_vop },
570913e0b1bebe Sandy Huang    2018-06-26  1034  	{ .compatible = "rockchip,px30-vop-big",
570913e0b1bebe Sandy Huang    2018-06-26  1035  	  .data = &px30_vop_big },
570913e0b1bebe Sandy Huang    2018-06-26  1036  	{ .compatible = "rockchip,px30-vop-lit",
570913e0b1bebe Sandy Huang    2018-06-26  1037  	  .data = &px30_vop_lit },
f4a6de855eae10 Mark Yao       2018-12-29  1038  	{ .compatible = "rockchip,rk3066-vop",
f4a6de855eae10 Mark Yao       2018-12-29  1039  	  .data = &rk3066_vop },
428e15cc41e360 Heiko Stuebner 2018-08-30  1040  	{ .compatible = "rockchip,rk3188-vop",
428e15cc41e360 Heiko Stuebner 2018-08-30  1041  	  .data = &rk3188_vop },
b51502add7afc5 Mark Yao       2016-08-15  1042  	{ .compatible = "rockchip,rk3288-vop",
b51502add7afc5 Mark Yao       2016-08-15  1043  	  .data = &rk3288_vop },
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1044  	{ .compatible = "rockchip,rk3368-vop",
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1045  	  .data = &rk3368_vop },
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1046  	{ .compatible = "rockchip,rk3366-vop",
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1047  	  .data = &rk3366_vop },
0a63bfd046bbc8 Mark Yao       2016-04-20  1048  	{ .compatible = "rockchip,rk3399-vop-big",
0a63bfd046bbc8 Mark Yao       2016-04-20  1049  	  .data = &rk3399_vop_big },
0a63bfd046bbc8 Mark Yao       2016-04-20  1050  	{ .compatible = "rockchip,rk3399-vop-lit",
0a63bfd046bbc8 Mark Yao       2016-04-20  1051  	  .data = &rk3399_vop_lit },
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1052  	{ .compatible = "rockchip,rk3228-vop",
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1053  	  .data = &rk3228_vop },
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1054  	{ .compatible = "rockchip,rk3328-vop",
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1055  	  .data = &rk3328_vop },
a67719d182291b Mark Yao       2015-12-15  1056  	{},
a67719d182291b Mark Yao       2015-12-15  1057  };
a67719d182291b Mark Yao       2015-12-15  1058  MODULE_DEVICE_TABLE(of, vop_driver_dt_match);
a67719d182291b Mark Yao       2015-12-15  1059  

:::::: The code at line 1029 was first introduced by commit
:::::: a67719d182291bf62c6093545b9af27f0431cbeb drm/rockchip: vop: spilt register related into rockchip_reg_vop.c

:::::: TO: Mark Yao <mark.yao@rock-chips.com>
:::::: CC: Mark Yao <mark.yao@rock-chips.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: 43936 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
* drivers/gpu/drm/rockchip/rockchip_vop_reg.c:1029:34: warning: unused variable 'vop_driver_dt_match'
@ 2021-01-15  8:28 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-01-15  8:28 UTC (permalink / raw)
  To: Robin Murphy; +Cc: kbuild-all, clang-built-linux, linux-kernel, Joerg Roedel

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

Hi Robin,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5ee88057889bbca5f5bb96031b62b3756b33e164
commit: b4ceb4a5359ed1c9ba4a20acf3a70d4bbead3248 iommu: Tidy up Kconfig for SoC IOMMUs
date:   6 months ago
config: x86_64-randconfig-r025-20210115 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 5b42fd8dd4e7e29125a09a41a33af7c9cb57d144)
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=b4ceb4a5359ed1c9ba4a20acf3a70d4bbead3248
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout b4ceb4a5359ed1c9ba4a20acf3a70d4bbead3248
        # 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/gpu/drm/rockchip/rockchip_vop_reg.c:1029:34: warning: unused variable 'vop_driver_dt_match' [-Wunused-const-variable]
   static const struct of_device_id vop_driver_dt_match[] = {
                                    ^
   1 warning generated.


vim +/vop_driver_dt_match +1029 drivers/gpu/drm/rockchip/rockchip_vop_reg.c

eb5cb6aa9a72a7 Mark Yao       2017-07-26  1028  
a67719d182291b Mark Yao       2015-12-15 @1029  static const struct of_device_id vop_driver_dt_match[] = {
f7673453506035 Mark Yao       2015-12-15  1030  	{ .compatible = "rockchip,rk3036-vop",
f7673453506035 Mark Yao       2015-12-15  1031  	  .data = &rk3036_vop },
460c3b0029923a Sandy Huang    2017-11-14  1032  	{ .compatible = "rockchip,rk3126-vop",
460c3b0029923a Sandy Huang    2017-11-14  1033  	  .data = &rk3126_vop },
570913e0b1bebe Sandy Huang    2018-06-26  1034  	{ .compatible = "rockchip,px30-vop-big",
570913e0b1bebe Sandy Huang    2018-06-26  1035  	  .data = &px30_vop_big },
570913e0b1bebe Sandy Huang    2018-06-26  1036  	{ .compatible = "rockchip,px30-vop-lit",
570913e0b1bebe Sandy Huang    2018-06-26  1037  	  .data = &px30_vop_lit },
f4a6de855eae10 Mark Yao       2018-12-29  1038  	{ .compatible = "rockchip,rk3066-vop",
f4a6de855eae10 Mark Yao       2018-12-29  1039  	  .data = &rk3066_vop },
428e15cc41e360 Heiko Stuebner 2018-08-30  1040  	{ .compatible = "rockchip,rk3188-vop",
428e15cc41e360 Heiko Stuebner 2018-08-30  1041  	  .data = &rk3188_vop },
b51502add7afc5 Mark Yao       2016-08-15  1042  	{ .compatible = "rockchip,rk3288-vop",
b51502add7afc5 Mark Yao       2016-08-15  1043  	  .data = &rk3288_vop },
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1044  	{ .compatible = "rockchip,rk3368-vop",
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1045  	  .data = &rk3368_vop },
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1046  	{ .compatible = "rockchip,rk3366-vop",
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1047  	  .data = &rk3366_vop },
0a63bfd046bbc8 Mark Yao       2016-04-20  1048  	{ .compatible = "rockchip,rk3399-vop-big",
0a63bfd046bbc8 Mark Yao       2016-04-20  1049  	  .data = &rk3399_vop_big },
0a63bfd046bbc8 Mark Yao       2016-04-20  1050  	{ .compatible = "rockchip,rk3399-vop-lit",
0a63bfd046bbc8 Mark Yao       2016-04-20  1051  	  .data = &rk3399_vop_lit },
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1052  	{ .compatible = "rockchip,rk3228-vop",
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1053  	  .data = &rk3228_vop },
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1054  	{ .compatible = "rockchip,rk3328-vop",
eb5cb6aa9a72a7 Mark Yao       2017-07-26  1055  	  .data = &rk3328_vop },
a67719d182291b Mark Yao       2015-12-15  1056  	{},
a67719d182291b Mark Yao       2015-12-15  1057  };
a67719d182291b Mark Yao       2015-12-15  1058  MODULE_DEVICE_TABLE(of, vop_driver_dt_match);
a67719d182291b Mark Yao       2015-12-15  1059  

:::::: The code at line 1029 was first introduced by commit
:::::: a67719d182291bf62c6093545b9af27f0431cbeb drm/rockchip: vop: spilt register related into rockchip_reg_vop.c

:::::: TO: Mark Yao <mark.yao@rock-chips.com>
:::::: CC: Mark Yao <mark.yao@rock-chips.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: 36146 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
* drivers/gpu/drm/rockchip/rockchip_vop_reg.c:1029:34: warning: unused variable 'vop_driver_dt_match'
@ 2020-11-19 18:29 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2020-11-19 18:29 UTC (permalink / raw)
  To: Robin Murphy; +Cc: kbuild-all, clang-built-linux, linux-kernel, Joerg Roedel

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

Hi Robin,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c2e7554e1b85935d962127efa3c2a76483b0b3b6
commit: b4ceb4a5359ed1c9ba4a20acf3a70d4bbead3248 iommu: Tidy up Kconfig for SoC IOMMUs
date:   4 months ago
config: x86_64-randconfig-a011-20201118 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project b2613fb2f0f53691dd0211895afbb9413457fca7)
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=b4ceb4a5359ed1c9ba4a20acf3a70d4bbead3248
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout b4ceb4a5359ed1c9ba4a20acf3a70d4bbead3248
        # 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/gpu/drm/rockchip/rockchip_vop_reg.c:1029:34: warning: unused variable 'vop_driver_dt_match' [-Wunused-const-variable]
   static const struct of_device_id vop_driver_dt_match[] = {
                                    ^
   1 warning generated.
--
>> drivers/gpu/drm/rockchip/analogix_dp-rockchip.c:457:34: warning: unused variable 'rockchip_dp_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id rockchip_dp_dt_ids[] = {
                                    ^
   1 warning generated.
--
>> drivers/gpu/drm/rockchip/cdn-dp-core.c:54:34: warning: unused variable 'cdn_dp_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id cdn_dp_dt_ids[] = {
                                    ^
   1 warning generated.

vim +/vop_driver_dt_match +1029 drivers/gpu/drm/rockchip/rockchip_vop_reg.c

eb5cb6aa9a72a7c Mark Yao       2017-07-26  1028  
a67719d182291bf Mark Yao       2015-12-15 @1029  static const struct of_device_id vop_driver_dt_match[] = {
f7673453506035a Mark Yao       2015-12-15  1030  	{ .compatible = "rockchip,rk3036-vop",
f7673453506035a Mark Yao       2015-12-15  1031  	  .data = &rk3036_vop },
460c3b0029923a4 Sandy Huang    2017-11-14  1032  	{ .compatible = "rockchip,rk3126-vop",
460c3b0029923a4 Sandy Huang    2017-11-14  1033  	  .data = &rk3126_vop },
570913e0b1bebec Sandy Huang    2018-06-26  1034  	{ .compatible = "rockchip,px30-vop-big",
570913e0b1bebec Sandy Huang    2018-06-26  1035  	  .data = &px30_vop_big },
570913e0b1bebec Sandy Huang    2018-06-26  1036  	{ .compatible = "rockchip,px30-vop-lit",
570913e0b1bebec Sandy Huang    2018-06-26  1037  	  .data = &px30_vop_lit },
f4a6de855eae10b Mark Yao       2018-12-29  1038  	{ .compatible = "rockchip,rk3066-vop",
f4a6de855eae10b Mark Yao       2018-12-29  1039  	  .data = &rk3066_vop },
428e15cc41e3603 Heiko Stuebner 2018-08-30  1040  	{ .compatible = "rockchip,rk3188-vop",
428e15cc41e3603 Heiko Stuebner 2018-08-30  1041  	  .data = &rk3188_vop },
b51502add7afc5a Mark Yao       2016-08-15  1042  	{ .compatible = "rockchip,rk3288-vop",
b51502add7afc5a Mark Yao       2016-08-15  1043  	  .data = &rk3288_vop },
eb5cb6aa9a72a7c Mark Yao       2017-07-26  1044  	{ .compatible = "rockchip,rk3368-vop",
eb5cb6aa9a72a7c Mark Yao       2017-07-26  1045  	  .data = &rk3368_vop },
eb5cb6aa9a72a7c Mark Yao       2017-07-26  1046  	{ .compatible = "rockchip,rk3366-vop",
eb5cb6aa9a72a7c Mark Yao       2017-07-26  1047  	  .data = &rk3366_vop },
0a63bfd046bbc88 Mark Yao       2016-04-20  1048  	{ .compatible = "rockchip,rk3399-vop-big",
0a63bfd046bbc88 Mark Yao       2016-04-20  1049  	  .data = &rk3399_vop_big },
0a63bfd046bbc88 Mark Yao       2016-04-20  1050  	{ .compatible = "rockchip,rk3399-vop-lit",
0a63bfd046bbc88 Mark Yao       2016-04-20  1051  	  .data = &rk3399_vop_lit },
eb5cb6aa9a72a7c Mark Yao       2017-07-26  1052  	{ .compatible = "rockchip,rk3228-vop",
eb5cb6aa9a72a7c Mark Yao       2017-07-26  1053  	  .data = &rk3228_vop },
eb5cb6aa9a72a7c Mark Yao       2017-07-26  1054  	{ .compatible = "rockchip,rk3328-vop",
eb5cb6aa9a72a7c Mark Yao       2017-07-26  1055  	  .data = &rk3328_vop },
a67719d182291bf Mark Yao       2015-12-15  1056  	{},
a67719d182291bf Mark Yao       2015-12-15  1057  };
a67719d182291bf Mark Yao       2015-12-15  1058  MODULE_DEVICE_TABLE(of, vop_driver_dt_match);
a67719d182291bf Mark Yao       2015-12-15  1059  

:::::: The code at line 1029 was first introduced by commit
:::::: a67719d182291bf62c6093545b9af27f0431cbeb drm/rockchip: vop: spilt register related into rockchip_reg_vop.c

:::::: TO: Mark Yao <mark.yao@rock-chips.com>
:::::: CC: Mark Yao <mark.yao@rock-chips.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: 36744 bytes --]

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

end of thread, other threads:[~2021-08-04 20:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 20:17 drivers/gpu/drm/rockchip/rockchip_vop_reg.c:1029:34: warning: unused variable 'vop_driver_dt_match' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-01-15  8:28 kernel test robot
2020-11-19 18:29 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).