[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204060405.Le0PCoYZ-lkp@intel.com>
Date: Wed, 6 Apr 2022 05:05:01 +0800
From: kernel test robot <lkp@...el.com>
To: Peng Fan <peng.fan@....com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Abel Vesa <abel.vesa@....com>
Subject: drivers/clk/imx/clk-imx93.c:324:34: warning: unused variable
'imx93_clk_of_match'
Hi Peng,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3e732ebf7316ac83e8562db7e64cc68aec390a18
commit: 24defbe194b650218680fcd9dec8cd103537b531 clk: imx: add i.MX93 clk
date: 5 weeks ago
config: hexagon-randconfig-r032-20220405 (https://download.01.org/0day-ci/archive/20220406/202204060405.Le0PCoYZ-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c4a1b07d0979e7ff20d7d541af666d822d66b566)
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@...el.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
Powered by blists - more mailing lists