Re: [PATCH 13/16] ALSA: hda/tas2781: remove sound controls in unbind

From: kernel test robot
Date: Thu Dec 07 2023 - 11:01:47 EST


Hi Gergo,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tiwai-sound/for-next]
[also build test WARNING on tiwai-sound/for-linus broonie-sound/for-next linus/master v6.7-rc4 next-20231207]
[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/Gergo-Koteles/ALSA-hda-tas2781-leave-hda_component-in-usable-state/20231207-085947
base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
patch link: https://lore.kernel.org/r/8f16576930682297fd08bba5e063a9a1f3150388.1701906455.git.soyer%40irl.hu
patch subject: [PATCH 13/16] ALSA: hda/tas2781: remove sound controls in unbind
config: x86_64-randconfig-001-20231207 (https://download.01.org/0day-ci/archive/20231207/202312072318.9KUgvYeb-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231207/202312072318.9KUgvYeb-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/202312072318.9KUgvYeb-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> sound/pci/hda/tas2781_hda_i2c.c:868:1: warning: unused label 'out' [-Wunused-label]
out:
^~~~
1 warning generated.


vim +/out +868 sound/pci/hda/tas2781_hda_i2c.c

852
853 static int tas2781_runtime_resume(struct device *dev)
854 {
855 struct tas2781_hda *tas_hda = dev_get_drvdata(dev);
856
857 dev_dbg(tas_hda->dev, "Runtime Resume\n");
858
859 mutex_lock(&tas_hda->priv->codec_lock);
860
861 tasdevice_prmg_load(tas_hda->priv, tas_hda->priv->cur_prog);
862
863 /* If calibrated data occurs error, dsp will still works with default
864 * calibrated data inside algo.
865 */
866 tasdevice_apply_calibration(tas_hda->priv);
867
> 868 out:
869 mutex_unlock(&tas_hda->priv->codec_lock);
870
871 return 0;
872 }
873

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