From: kernel test robot <lkp@intel.com>
To: Alexandre Courbot <acourbot@chromium.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-kernel@vger.kernel.org,
Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media@vger.kernel.org
Subject: drivers/remoteproc/mtk_scp.c:645:34: warning: unused variable 'mtk_scp_of_match'
Date: Mon, 2 Nov 2020 08:08:20 +0800 [thread overview]
Message-ID: <202011020817.nhpgLbGq-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2466 bytes --]
Hi Alexandre,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3cea11cd5e3b00d91caf0b4730194039b45c5891
commit: cbd2dca74926c0e4610c40923cc786b732c9e8ef remoteproc: scp: add COMPILE_TEST dependency
date: 5 weeks ago
config: x86_64-randconfig-a005-20201102 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 235dfcf70abca65dba5d80f1a42d1485bab8980c)
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=cbd2dca74926c0e4610c40923cc786b732c9e8ef
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout cbd2dca74926c0e4610c40923cc786b732c9e8ef
# 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/remoteproc/mtk_scp.c:645:34: warning: unused variable 'mtk_scp_of_match' [-Wunused-const-variable]
static const struct of_device_id mtk_scp_of_match[] = {
^
1 warning generated.
vim +/mtk_scp_of_match +645 drivers/remoteproc/mtk_scp.c
63c13d61eafe46 Erin Lo 2019-11-12 644
63c13d61eafe46 Erin Lo 2019-11-12 @645 static const struct of_device_id mtk_scp_of_match[] = {
63c13d61eafe46 Erin Lo 2019-11-12 646 { .compatible = "mediatek,mt8183-scp"},
63c13d61eafe46 Erin Lo 2019-11-12 647 {},
63c13d61eafe46 Erin Lo 2019-11-12 648 };
63c13d61eafe46 Erin Lo 2019-11-12 649 MODULE_DEVICE_TABLE(of, mtk_scp_of_match);
63c13d61eafe46 Erin Lo 2019-11-12 650
:::::: The code at line 645 was first introduced by commit
:::::: 63c13d61eafe4606f1c16c54da40c4eee78e9edf remoteproc/mediatek: add SCP support for mt8183
:::::: TO: Erin Lo <erin.lo@mediatek.com>
:::::: CC: Bjorn Andersson <bjorn.andersson@linaro.org>
---
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: 44158 bytes --]
next reply other threads:[~2020-11-02 0:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-02 0:08 kernel test robot [this message]
2020-11-02 7:41 ` drivers/remoteproc/mtk_scp.c:645:34: warning: unused variable 'mtk_scp_of_match' Alexandre Courbot
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=202011020817.nhpgLbGq-lkp@intel.com \
--to=lkp@intel.com \
--cc=acourbot@chromium.org \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@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