From: kernel test robot <lkp@intel.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-kernel@vger.kernel.org, Joerg Roedel <jroedel@suse.de>
Subject: drivers/iommu/mtk_iommu.c:799:34: warning: unused variable 'mtk_iommu_of_ids'
Date: Mon, 27 Jul 2020 09:38:12 +0800 [thread overview]
Message-ID: <202007270905.tidoB4ZZ%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-07-27 1:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202007270905.tidoB4ZZ%lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=jroedel@suse.de \
--cc=kbuild-all@lists.01.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®