* [freescale-fslc:6.6-2.0.x-imx 5900/16788] include/linux/imx_sema4.h:32:27: warning: 'idx_sema4' defined but not used
@ 2024-09-29 13:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-29 13:02 UTC (permalink / raw)
To: Otavio Salvador; +Cc: oe-kbuild-all
tree: https://github.com/Freescale/linux-fslc 6.6-2.0.x-imx
head: ac32ba5fe66266329914d2020570364afe217bec
commit: 42ac762f9963572c543a987383dd150707610cc5 [5900/16788] Merge branch 'pm/next' into next
config: i386-buildonly-randconfig-004-20240928 (https://download.01.org/0day-ci/archive/20240929/202409292134.onWf4TIO-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240929/202409292134.onWf4TIO-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/202409292134.onWf4TIO-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/clk/imx/clk-pfd.c:9:
>> include/linux/imx_sema4.h:32:27: warning: 'idx_sema4' defined but not used [-Wunused-const-variable=]
32 | static const unsigned int idx_sema4[SEMA4_NUM_GATES] = {
| ^~~~~~~~~
vim +/idx_sema4 +32 include/linux/imx_sema4.h
0b95e1dc090e92 Anson Huang 2019-04-19 31
0b95e1dc090e92 Anson Huang 2019-04-19 @32 static const unsigned int idx_sema4[SEMA4_NUM_GATES] = {
0b95e1dc090e92 Anson Huang 2019-04-19 33 1 << 7, 1 << 6, 1 << 5, 1 << 4,
0b95e1dc090e92 Anson Huang 2019-04-19 34 1 << 3, 1 << 2, 1 << 1, 1 << 0,
0b95e1dc090e92 Anson Huang 2019-04-19 35 1 << 15, 1 << 14, 1 << 13, 1 << 12,
0b95e1dc090e92 Anson Huang 2019-04-19 36 1 << 11, 1 << 10, 1 << 9, 1 << 8,
0b95e1dc090e92 Anson Huang 2019-04-19 37 };
0b95e1dc090e92 Anson Huang 2019-04-19 38
:::::: The code at line 32 was first introduced by commit
:::::: 0b95e1dc090e921643c11ccd7a7f981b5b8b57c1 char: imx_amp: add sema4 driver support
:::::: TO: Anson Huang <Anson.Huang@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:[~2024-09-29 13:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-29 13:02 [freescale-fslc:6.6-2.0.x-imx 5900/16788] include/linux/imx_sema4.h:32:27: warning: 'idx_sema4' defined but not used 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.