sound/soc/codecs/adau17x1.c:275:8: sparse: sparse: symbol 'adau17x1_dac_mux' was not declared. Should it be static?
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-6.15 head: c6141ba0110f98266106699aca071fed025c3d64 commit: c951b20766f019a263b3547b07627be52fff87b4 [18/50] ASoC: dapm: Use ASoC control macros where possible config: i386-randconfig-063-20250305 (https://download.01.org/0day-ci/archive/20250306/[email protected]/config) compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250306/[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]/
sparse warnings: (new ones prefixed by >>)
>> sound/soc/codecs/adau17x1.c:275:8: sparse: sparse: symbol 'adau17x1_dac_mux' was not declared. Should it be static? >> sound/soc/codecs/adau17x1.c:278:8: sparse: sparse: symbol 'adau17x1_capture_mux' was not declared. Should it be static?
vim +/adau17x1_dac_mux +275 sound/soc/codecs/adau17x1.c
4101866c743a369 Lars-Peter Clausen 2014-05-27 2744101866c743a369 Lars-Peter Clausen 2014-05-27 @275 static DECLARE_ADAU17X1_DSP_MUX_CTRL(adau17x1_dac_mux, "DAC Playback Mux",4101866c743a369 Lars-Peter Clausen 2014-05-27 276 SNDRV_PCM_STREAM_PLAYBACK, adau17x1_dac_mux_text);4101866c743a369 Lars-Peter Clausen 2014-05-27 2774101866c743a369 Lars-Peter Clausen 2014-05-27 @278 static DECLARE_ADAU17X1_DSP_MUX_CTRL(adau17x1_capture_mux, "Capture Mux",4101866c743a369 Lars-Peter Clausen 2014-05-27 279 SNDRV_PCM_STREAM_CAPTURE, adau17x1_capture_mux_text);4101866c743a369 Lars-Peter Clausen 2014-05-27 280
:::::: The code at line 275 was first introduced by commit
:::::: 4101866c743a3695666e8562b5713b4d7f341cbf ASoC: Add ADAU1X61 and ADAU1X81 CODECs common code
:::::: TO: Lars-Peter Clausen <[email protected]>
:::::: CC: Mark Brown <[email protected]>
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki