From: kernel test robot <lkp@intel.com>
To: Anson Huang <Anson.Huang@nxp.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-kernel@vger.kernel.org, Shawn Guo <shawnguo@kernel.org>,
Dong Aisheng <aisheng.dong@nxp.com>,
Stephen Boyd <sboyd@kernel.org>
Subject: drivers/clk/imx/clk-imx8mp.c:757:34: warning: unused variable 'imx8mp_clk_of_match'
Date: Mon, 2 Nov 2020 08:50:44 +0800 [thread overview]
Message-ID: <202011020839.5clpFRuZ-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2492 bytes --]
Hi Anson,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3cea11cd5e3b00d91caf0b4730194039b45c5891
commit: 9a976cd278eafa496ce30196810ef2e879a4a7d5 clk: imx8m: Support module build
date: 2 months 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=9a976cd278eafa496ce30196810ef2e879a4a7d5
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 9a976cd278eafa496ce30196810ef2e879a4a7d5
# 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/clk/imx/clk-imx8mp.c:757:34: warning: unused variable 'imx8mp_clk_of_match' [-Wunused-const-variable]
static const struct of_device_id imx8mp_clk_of_match[] = {
^
1 warning generated.
vim +/imx8mp_clk_of_match +757 drivers/clk/imx/clk-imx8mp.c
9c140d9926761b Anson Huang 2020-01-08 756
9c140d9926761b Anson Huang 2020-01-08 @757 static const struct of_device_id imx8mp_clk_of_match[] = {
9c140d9926761b Anson Huang 2020-01-08 758 { .compatible = "fsl,imx8mp-ccm" },
9c140d9926761b Anson Huang 2020-01-08 759 { /* Sentinel */ }
9c140d9926761b Anson Huang 2020-01-08 760 };
9c140d9926761b Anson Huang 2020-01-08 761 MODULE_DEVICE_TABLE(of, imx8mp_clk_of_match);
9c140d9926761b Anson Huang 2020-01-08 762
:::::: The code at line 757 was first introduced by commit
:::::: 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3 clk: imx: Add support for i.MX8MP clock driver
:::::: TO: Anson Huang <Anson.Huang@nxp.com>
:::::: CC: Shawn Guo <shawnguo@kernel.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: 44164 bytes --]
reply other threads:[~2020-11-02 0:51 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=202011020839.5clpFRuZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=Anson.Huang@nxp.com \
--cc=aisheng.dong@nxp.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sboyd@kernel.org \
--cc=shawnguo@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®