From: kernel test robot <lkp@intel.com>
To: Peng Fan <peng.fan@nxp.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Abel Vesa <abel.vesa@nxp.com>
Subject: drivers/clk/imx/clk-imx93.c:324:34: warning: unused variable 'imx93_clk_of_match'
Date: Mon, 18 Apr 2022 18:13:16 +0800 [thread overview]
Message-ID: <202204181828.VNB1sR4E-lkp@intel.com> (raw)
Hi Peng,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b2d229d4ddb17db541098b83524d901257e93845
commit: 24defbe194b650218680fcd9dec8cd103537b531 clk: imx: add i.MX93 clk
date: 6 weeks ago
config: hexagon-randconfig-r045-20220417 (https://download.01.org/0day-ci/archive/20220418/202204181828.VNB1sR4E-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b27430f9f46b88bcd54d992debc8d72e131e1bd0)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=24defbe194b650218680fcd9dec8cd103537b531
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 24defbe194b650218680fcd9dec8cd103537b531
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/clk/imx/
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-imx93.c:324:34: warning: unused variable 'imx93_clk_of_match' [-Wunused-const-variable]
static const struct of_device_id imx93_clk_of_match[] = {
^
1 warning generated.
vim +/imx93_clk_of_match +324 drivers/clk/imx/clk-imx93.c
323
> 324 static const struct of_device_id imx93_clk_of_match[] = {
325 { .compatible = "fsl,imx93-ccm" },
326 { /* Sentinel */ },
327 };
328 MODULE_DEVICE_TABLE(of, imx93_clk_of_match);
329
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next reply other threads:[~2022-04-18 10:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-18 10:13 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-18 9:28 drivers/clk/imx/clk-imx93.c:324:34: warning: unused variable 'imx93_clk_of_match' kernel test robot
2022-05-25 6:33 kernel test robot
2022-04-05 21:05 kernel test robot
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=202204181828.VNB1sR4E-lkp@intel.com \
--to=lkp@intel.com \
--cc=abel.vesa@nxp.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=peng.fan@nxp.com \
/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