mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Robin Murphy <robin.murphy@arm.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org, Joerg Roedel <jroedel@suse.de>
Subject: drivers/gpu/drm/rockchip/analogix_dp-rockchip.c:457:34: warning: unused variable 'rockchip_dp_dt_ids'
Date: Wed, 17 Mar 2021 05:52:46 +0800	[thread overview]
Message-ID: <202103170538.Vja5FCxd-lkp@intel.com> (raw)

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

Hi Robin,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1df27313f50a57497c1faeb6a6ae4ca939c85a7d
commit: b4ceb4a5359ed1c9ba4a20acf3a70d4bbead3248 iommu: Tidy up Kconfig for SoC IOMMUs
date:   8 months ago
config: x86_64-randconfig-a013-20210317 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 50c7504a93fdb90c26870db8c8ea7add895c7725)
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/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/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 +/rockchip_dp_dt_ids +457 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c

d9c900b0270a18 Yakir Yang 2016-06-29  456  
9e32e16e9e989f Yakir Yang 2016-03-29 @457  static const struct of_device_id rockchip_dp_dt_ids[] = {
d9c900b0270a18 Yakir Yang 2016-06-29  458  	{.compatible = "rockchip,rk3288-dp", .data = &rk3288_dp },
82872e42bb1501 Yakir Yang 2016-06-29  459  	{.compatible = "rockchip,rk3399-edp", .data = &rk3399_edp },
9e32e16e9e989f Yakir Yang 2016-03-29  460  	{}
9e32e16e9e989f Yakir Yang 2016-03-29  461  };
9e32e16e9e989f Yakir Yang 2016-03-29  462  MODULE_DEVICE_TABLE(of, rockchip_dp_dt_ids);
9e32e16e9e989f Yakir Yang 2016-03-29  463  

:::::: The code at line 457 was first introduced by commit
:::::: 9e32e16e9e989f2c4a11b377c5ed3e1c7be16cfb drm: rockchip: dp: add rockchip platform dp driver

:::::: TO: Yakir Yang <ykk@rock-chips.com>
:::::: CC: Yakir Yang <ykk@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: 38293 bytes --]

             reply	other threads:[~2021-03-16 21:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-16 21:52 kernel test robot [this message]
2021-06-25  7:41 kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202103170538.Vja5FCxd-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=jroedel@suse.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robin.murphy@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome