All of lore.kernel.org
 help / color / mirror / Atom feed
* [freescale-fslc:6.1-2.1.x-imx 625/16025] drivers/clk/imx/clk-blk-ctrl.c:316:34: warning: unused variable 'imx_blk_ctrl_of_match'
@ 2023-12-16 22:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-16 22:23 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: oe-kbuild-all

Hi Abel,

First bad commit (maybe != root cause):

tree:   https://github.com/Freescale/linux-fslc 6.1-2.1.x-imx
head:   241e2f51bd87beb652196d1db92f0387c1209bfb
commit: 982caa7f57b68424730d255dbb6424e7f5c5e904 [625/16025] clk: imx: Add imx_dev_clk_hw_gate_shared to be used by clk-blk-ctl
config: i386-buildonly-randconfig-001-20231217 (https://download.01.org/0day-ci/archive/20231217/202312170658.bJO182gF-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231217/202312170658.bJO182gF-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312170658.bJO182gF-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/clk/imx/clk-blk-ctrl.c:316:34: warning: unused variable 'imx_blk_ctrl_of_match' [-Wunused-const-variable]
   static const struct of_device_id imx_blk_ctrl_of_match[] = {
                                    ^
   1 warning generated.


vim +/imx_blk_ctrl_of_match +316 drivers/clk/imx/clk-blk-ctrl.c

78668ad4d3771b Abel Vesa 2020-06-18  315  
78668ad4d3771b Abel Vesa 2020-06-18 @316  static const struct of_device_id imx_blk_ctrl_of_match[] = {
3be659c45c35d2 Abel Vesa 2020-06-18  317  	{
3be659c45c35d2 Abel Vesa 2020-06-18  318  		.compatible = "fsl,imx8mp-audio-blk-ctrl",
3be659c45c35d2 Abel Vesa 2020-06-18  319  		.data = &imx8mp_audio_blk_ctrl_dev_data
3be659c45c35d2 Abel Vesa 2020-06-18  320  	},
6d81fafcd3dba6 Abel Vesa 2020-06-18  321  	{
6d81fafcd3dba6 Abel Vesa 2020-06-18  322  		.compatible = "fsl,imx8mp-media-blk-ctrl",
6d81fafcd3dba6 Abel Vesa 2020-06-18  323  		.data = &imx8mp_media_blk_ctrl_dev_data
6d81fafcd3dba6 Abel Vesa 2020-06-18  324  	},
d4ecee4f011e6d Abel Vesa 2020-06-18  325  	{
d4ecee4f011e6d Abel Vesa 2020-06-18  326  		.compatible = "fsl,imx8mp-hdmi-blk-ctrl",
d4ecee4f011e6d Abel Vesa 2020-06-18  327  		.data = &imx8mp_hdmi_blk_ctrl_dev_data
d4ecee4f011e6d Abel Vesa 2020-06-18  328  	},
78668ad4d3771b Abel Vesa 2020-06-18  329  	{ /* Sentinel */ }
78668ad4d3771b Abel Vesa 2020-06-18  330  };
78668ad4d3771b Abel Vesa 2020-06-18  331  MODULE_DEVICE_TABLE(of, imx_blk_ctrl_of_match);
78668ad4d3771b Abel Vesa 2020-06-18  332  

:::::: The code at line 316 was first introduced by commit
:::::: 78668ad4d3771b2b0caca88d8bea83e4f438f8b5 clk: imx: Add blk_ctrl combo driver

:::::: TO: Abel Vesa <abel.vesa@nxp.com>
:::::: CC: Dong Aisheng <aisheng.dong@nxp.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-16 22:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-16 22:23 [freescale-fslc:6.1-2.1.x-imx 625/16025] drivers/clk/imx/clk-blk-ctrl.c:316:34: warning: unused variable 'imx_blk_ctrl_of_match' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.