drivers/gpu/drm/rockchip/cdn-dp-core.c:54:34: warning: unused variable 'cdn_dp_dt_ids'
From: kernel test robot <hidden>
Date: 2021-09-05 01:11:01
Also in:
lkml, oe-kbuild-all
Hi Robin, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 49624efa65ac9889f4e7c7b2452b2e6ce42ba37d commit: b4ceb4a5359ed1c9ba4a20acf3a70d4bbead3248 iommu: Tidy up Kconfig for SoC IOMMUs date: 1 year, 2 months ago config: x86_64-buildonly-randconfig-r006-20210905 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6fe2beba7d2a41964af658c8c59dd172683ef739) 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 <redacted> All warnings (new ones prefixed by >>):
quoted
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[] = {
^
drivers/gpu/drm/rockchip/cdn-dp-core.c:1123:12: warning: unused function 'cdn_dp_resume' [-Wunused-function]
static int cdn_dp_resume(struct device *dev)
^
2 warnings generated.
vim +/cdn_dp_dt_ids +54 drivers/gpu/drm/rockchip/cdn-dp-core.c
1a0f7ed3abe29c Chris Zhong 2017-02-05 53
1a0f7ed3abe29c Chris Zhong 2017-02-05 @54 static const struct of_device_id cdn_dp_dt_ids[] = {
1a0f7ed3abe29c Chris Zhong 2017-02-05 55 { .compatible = "rockchip,rk3399-cdn-dp",
1a0f7ed3abe29c Chris Zhong 2017-02-05 56 .data = (void *)&rk3399_cdn_dp },
1a0f7ed3abe29c Chris Zhong 2017-02-05 57 {}
1a0f7ed3abe29c Chris Zhong 2017-02-05 58 };
1a0f7ed3abe29c Chris Zhong 2017-02-05 59
:::::: The code at line 54 was first introduced by commit
:::::: 1a0f7ed3abe29cff8e652c69a8ad89aec2c40f00 drm/rockchip: cdn-dp: add cdn DP support for rk3399
:::::: TO: Chris Zhong [off-list ref]
:::::: CC: Mark Yao [off-list ref]
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Attachments
- .config.gz [application/gzip] 33572 bytes