linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/iommu/mtk_iommu.c:799:34: warning: unused variable 'mtk_iommu_of_ids'
@ 2020-07-27  1:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-27  1:38 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: kbuild-all, clang-built-linux, linux-kernel, Joerg Roedel

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

Hi Krzysztof,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92ed301919932f777713b9172e525674157e983d
commit: e93a1695d7fb551376b1c1220a267d032b6ad159 iommu: Enable compile testing for some of drivers
date:   5 months ago
config: x86_64-randconfig-r005-20200726 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 8bf4c1f4fb257774f66c8cda07adc6c5e8668326)
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
        git checkout e93a1695d7fb551376b1c1220a267d032b6ad159
        # 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/iommu/mtk_iommu.c:799:34: warning: unused variable 'mtk_iommu_of_ids' [-Wunused-const-variable]
   static const struct of_device_id mtk_iommu_of_ids[] = {
                                    ^
   1 warning generated.

vim +/mtk_iommu_of_ids +799 drivers/iommu/mtk_iommu.c

907ba6a195991a Yong Wu 2019-08-24  798  
0df4fabe208d95 Yong Wu 2016-02-23 @799  static const struct of_device_id mtk_iommu_of_ids[] = {
cecdce9d7eed33 Yong Wu 2019-08-24  800  	{ .compatible = "mediatek,mt2712-m4u", .data = &mt2712_data},
cecdce9d7eed33 Yong Wu 2019-08-24  801  	{ .compatible = "mediatek,mt8173-m4u", .data = &mt8173_data},
907ba6a195991a Yong Wu 2019-08-24  802  	{ .compatible = "mediatek,mt8183-m4u", .data = &mt8183_data},
0df4fabe208d95 Yong Wu 2016-02-23  803  	{}
0df4fabe208d95 Yong Wu 2016-02-23  804  };
0df4fabe208d95 Yong Wu 2016-02-23  805  

:::::: The code at line 799 was first introduced by commit
:::::: 0df4fabe208d9576f2671d31e77cf46d20fdcd01 iommu/mediatek: Add mt8173 IOMMU driver

:::::: TO: Yong Wu <yong.wu@mediatek.com>
:::::: CC: Joerg Roedel <jroedel@suse.de>

---
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: 36941 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-27  1:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27  1:38 drivers/iommu/mtk_iommu.c:799:34: warning: unused variable 'mtk_iommu_of_ids' 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).