Hi jiebing, kernel test robot noticed the following build warnings: [auto build test WARNING on 6ecd20965bdc21b265a0671ccf36d9ad8043f5ab] url: https://github.com/intel-lab-lkp/linux/commits/jiebing-chen-via-B4-Relay/dt-bindings-clock-meson-Add-audio-power-domain-for-s4-soc/20250319-151110 base: 6ecd20965bdc21b265a0671ccf36d9ad8043f5ab patch link: https://lore.kernel.org/r/20250319-audio_drvier-v4-4-686867fad719%40amlogic.com patch subject: [PATCH v4 4/6] ASoC: meson: g12a-toacodec: Add s4 tocodec driver config: i386-buildonly-randconfig-005-20250320 (https://download.01.org/0day-ci/archive/20250320/202503200205.amGhOXua-lkp@xxxxxxxxx/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/20250320/202503200205.amGhOXua-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202503200205.amGhOXua-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> sound/soc/meson/g12a-toacodec.c:135:38: warning: 's4_toacodec_clk_enable' defined but not used [-Wunused-const-variable=] 135 | static const struct snd_kcontrol_new s4_toacodec_clk_enable = | ^~~~~~~~~~~~~~~~~~~~~~ vim +/s4_toacodec_clk_enable +135 sound/soc/meson/g12a-toacodec.c 112 113 static SOC_ENUM_SINGLE_DECL(g12a_toacodec_mux_enum, TOACODEC_CTRL0, 114 CTRL0_DAT_SEL_LSB, 115 g12a_toacodec_mux_texts); 116 117 static SOC_ENUM_SINGLE_DECL(sm1_toacodec_mux_enum, TOACODEC_CTRL0, 118 CTRL0_DAT_SEL_SM1_LSB, 119 g12a_toacodec_mux_texts); 120 121 static const struct snd_kcontrol_new g12a_toacodec_mux = 122 SOC_DAPM_ENUM_EXT("Source", g12a_toacodec_mux_enum, 123 snd_soc_dapm_get_enum_double, 124 g12a_toacodec_mux_put_enum); 125 126 static const struct snd_kcontrol_new sm1_toacodec_mux = 127 SOC_DAPM_ENUM_EXT("Source", sm1_toacodec_mux_enum, 128 snd_soc_dapm_get_enum_double, 129 g12a_toacodec_mux_put_enum); 130 131 static const struct snd_kcontrol_new g12a_toacodec_out_enable = 132 SOC_DAPM_SINGLE_AUTODISABLE("Switch", TOACODEC_CTRL0, 133 CTRL0_ENABLE_SHIFT, 1, 0); 134 > 135 static const struct snd_kcontrol_new s4_toacodec_clk_enable = 136 SOC_DAPM_DOUBLE("Switch", TOACODEC_CTRL0, 137 CTRL0_BCLK_ENABLE_SHIFT, CTRL0_MCLK_ENABLE_SHIFT, 1, 0); 138 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki