Hi, kernel test robot noticed the following build warnings: [auto build test WARNING on broonie-sound/for-next] [also build test WARNING on linus/master v6.9-rc4 next-20240419] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/srinivas-kandagatla-linaro-org/ASoC-qcom-q6dsp-parse-Display-port-tokens/20240419-230514 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next patch link: https://lore.kernel.org/r/20240419150140.92527-3-srinivas.kandagatla%40linaro.org patch subject: [PATCH 2/4] ASoC: qcom: common: add Display port Jack function config: arm-defconfig (https://download.01.org/0day-ci/archive/20240420/202404200809.tfVSiQo5-lkp@xxxxxxxxx/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240420/202404200809.tfVSiQo5-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/202404200809.tfVSiQo5-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> sound/soc/qcom/common.c:250:22: warning: unused variable 'cpu_dai' [-Wunused-variable] struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); ^ 1 warning generated. vim +/cpu_dai +250 sound/soc/qcom/common.c 246 247 int qcom_snd_dp_jack_setup(struct snd_soc_pcm_runtime *rtd, 248 struct snd_soc_jack *hdmi_jack, int hdmi_pcm_id) 249 { > 250 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki