[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202209261001.w5owZWlA-lkp@intel.com>
Date: Mon, 26 Sep 2022 14:02:14 +0800
From: kernel test robot <lkp@...el.com>
To: Peng Fan <peng.fan@....com>
Cc: 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: 'imx93_clk_of_match'
defined but not used
Hi Peng,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f76349cf41451c5c42a99f18a9163377e4b364ff
commit: 24defbe194b650218680fcd9dec8cd103537b531 clk: imx: add i.MX93 clk
date: 7 months ago
config: x86_64-buildonly-randconfig-r005-20220926
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
# 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
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/clk/imx/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/clk/imx/clk-imx93.c:324:34: warning: 'imx93_clk_of_match' defined but not used [-Wunused-const-variable=]
324 | static const struct of_device_id imx93_clk_of_match[] = {
| ^~~~~~~~~~~~~~~~~~
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
View attachment "config" of type "text/plain" (138869 bytes)
Powered by blists - more mailing lists