[chenxing:mstar_v6_5_reorder 10/700] drivers/clk/mstar/clk-msc313-clkgen-ssd210.h:64:39: warning: 'ssd210_data' defined but not used

kernel test robot <[email protected]> Fri, 31 Jul 2026 17:07:51 +0800
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://github.com/linux-chenxing/linux.git mstar_v6_5_reorder
head:   1a5c60e65ea399670a5384b869c4958338af2799
commit: 118ab59cba575cb2ce4bc2ea0dd970d23987ec2f [10/700] dt-bindings: clkgen header
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260731/[email protected]/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

   In file included from drivers/clk/mstar/clk-msc313-clkgen.c:526:
>> drivers/clk/mstar/clk-msc313-clkgen-ssd210.h:64:39: warning: 'ssd210_data' defined but not used [-Wunused-const-variable=]
      64 | static const struct msc313_muxes_data ssd210_data = MSC313_MUXES_DATA(ssd210_muxes);
         |                                       ^~~~~~~~~~~
   In file included from drivers/clk/mstar/clk-msc313-clkgen.c:524:
>> drivers/clk/mstar/clk-msc313-clkgen-msc313.h:141:39: warning: 'msc313_data' defined but not used [-Wunused-const-variable=]
     141 | static const struct msc313_muxes_data msc313_data = MSC313_MUXES_DATA(msc313_muxes);
         |                                       ^~~~~~~~~~~


vim +/ssd210_data +64 drivers/clk/mstar/clk-msc313-clkgen-ssd210.h

200ee40b6f539cb Daniel Palmer 2023-02-25  63  
200ee40b6f539cb Daniel Palmer 2023-02-25 @64  static const struct msc313_muxes_data ssd210_data = MSC313_MUXES_DATA(ssd210_muxes);
200ee40b6f539cb Daniel Palmer 2023-02-25  65  

:::::: The code at line 64 was first introduced by commit
:::::: 200ee40b6f539cb37be385de2042262d15b88f36 clk: mstar: msc313 clkgen

:::::: TO: Daniel Palmer <[email protected]>
:::::: CC: Daniel Palmer <[email protected]>

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