[chenxing:mstar_v6_5_reorder 7/700] drivers/clk/mstar/clk-msc313-sc-gp-ctrl-muxes.c:104:39: warning: 'ssd210_data' defined but not used

kernel test robot <[email protected]> Fri, 31 Jul 2026 11:37:25 +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: 5d38c8bb63dfff32fcb793382ce55d140fce0f93 [7/700] clk: mstar: msc313 sc_gp region clock driver
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 >>):

>> drivers/clk/mstar/clk-msc313-sc-gp-ctrl-muxes.c:104:39: warning: 'ssd210_data' defined but not used [-Wunused-const-variable=]
     104 | static const struct msc313_muxes_data ssd210_data = MSC313_MUXES_DATA(ssd210_muxes);
         |                                       ^~~~~~~~~~~


vim +/ssd210_data +104 drivers/clk/mstar/clk-msc313-sc-gp-ctrl-muxes.c

    97	
    98	static const struct msc313_mux_data ssd210_muxes[] = {
    99		EMAC_MUXES,
   100		/* same as ssd20xd above */
   101		MSC313_MUX_CLK_PARENT_DATA_FLAGS(SSD20XD_SC_GP_SDIO_GATE, "sdio_gate", sdio_parents, SSD20XD_SDIO_BOOT_MUX,
   102				-1, 3, 1, -1, 0, CLK_SET_RATE_PARENT),
   103	};
 > 104	static const struct msc313_muxes_data ssd210_data = MSC313_MUXES_DATA(ssd210_muxes);
   105	

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