lkml.org 
[lkml]   [2020]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/iommu/mtk_iommu.c:799:34: warning: unused variable 'mtk_iommu_of_ids'
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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2020-07-27 03:59    [W:1.512 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site