tree: git://github.com/linux-chenxing/linux.git mstar_v5_14_rebase head: 651efd0e52f225e60faa8b30f9768021e2104d3c commit: 60cca2ee643d8820514b31a0714fea1b1437cbb8 [172/352] bach config: arm-allyesconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 10.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/linux-chenxing/linux/commit/60cca2ee643d8820514b31a0714fea1b1437cbb8 git remote add linux-chenxing git://github.com/linux-chenxing/linux.git git fetch --no-tags linux-chenxing mstar_v5_14_rebase git checkout 60cca2ee643d8820514b31a0714fea1b1437cbb8 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): sound/soc/mstar/infinity_soc.c: In function 'infinity_soc_card_suspend_pre': sound/soc/mstar/infinity_soc.c:46:30: warning: unused variable 'w' [-Wunused-variable] 46 | struct snd_soc_dapm_widget *w; | ^ sound/soc/mstar/infinity_soc.c:44:6: warning: unused variable 'i' [-Wunused-variable] 44 | int i; | ^ sound/soc/mstar/infinity_soc.c: In function 'infinity_soc_card_resume_post': sound/soc/mstar/infinity_soc.c:103:6: warning: unused variable 'i' [-Wunused-variable] 103 | int i; | ^ sound/soc/mstar/infinity_soc.c: At top level: >> sound/soc/mstar/infinity_soc.c:200:5: warning: no previous prototype for 'infinity_audio_remove' [-Wmissing-prototypes] 200 | int infinity_audio_remove(struct platform_device *pdev) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from sound/soc/mstar/infinity.h:11, from sound/soc/mstar/infinity_pcm.h:10, from sound/soc/mstar/infinity_soc.c:19: sound/soc/mstar/infinity_reg.h:50:25: warning: 'sine_gen_freq_field' defined but not used [-Wunused-variable] 50 | static struct reg_field sine_gen_freq_field = REG_FIELD(MSTAR_BACH_REG_DMA_TEST_CTRL5, 0, 3); | ^~~~~~~~~~~~~~~~~~~ sound/soc/mstar/infinity_reg.h:49:25: warning: 'sine_gen_gain_field' defined but not used [-Wunused-variable] 49 | static struct reg_field sine_gen_gain_field = REG_FIELD(MSTAR_BACH_REG_DMA_TEST_CTRL5, 4, 7); | ^~~~~~~~~~~~~~~~~~~ sound/soc/mstar/infinity_reg.h:48:25: warning: 'sine_gen_ren_field' defined but not used [-Wunused-variable] 48 | static struct reg_field sine_gen_ren_field = REG_FIELD(MSTAR_BACH_REG_DMA_TEST_CTRL5, 13, 13); | ^~~~~~~~~~~~~~~~~~ sound/soc/mstar/infinity_reg.h:47:25: warning: 'sine_gen_len_field' defined but not used [-Wunused-variable] 47 | static struct reg_field sine_gen_len_field = REG_FIELD(MSTAR_BACH_REG_DMA_TEST_CTRL5, 14, 14); | ^~~~~~~~~~~~~~~~~~ sound/soc/mstar/infinity_reg.h:46:25: warning: 'sine_gen_en_field' defined but not used [-Wunused-variable] 46 | static struct reg_field sine_gen_en_field = REG_FIELD(MSTAR_BACH_REG_DMA_TEST_CTRL5, 15, 15); | ^~~~~~~~~~~~~~~~~ sound/soc/mstar/infinity_reg.h:9:25: warning: 'mux0_mmc1_src_field' defined but not used [-Wunused-variable] 9 | static struct reg_field mux0_mmc1_src_field = REG_FIELD(MSTAR_BACH_REG_MUX0_SEL, 5, 5); | ^~~~~~~~~~~~~~~~~~~ -- sound/soc/mstar/infinity_codec.c: In function 'infinity_soc_codec_probe': sound/soc/mstar/infinity_codec.c:209:6: warning: unused variable 'i' [-Wunused-variable] 209 | int i; | ^ >> sound/soc/mstar/infinity_codec.c:207:17: warning: variable 'atop' set but not used [-Wunused-but-set-variable] 207 | struct regmap *atop; | ^~~~ sound/soc/mstar/infinity_codec.c: In function 'infinity_codec_write': sound/soc/mstar/infinity_codec.c:324:6: warning: unused variable 'ret' [-Wunused-variable] 324 | int ret = 0; | ^~~ At top level: sound/soc/mstar/infinity_codec.c:169:12: warning: 'infinity_soc_dai_resume' defined but not used [-Wunused-function] 169 | static int infinity_soc_dai_resume(struct snd_soc_dai *dai) | ^~~~~~~~~~~~~~~~~~~~~~~ sound/soc/mstar/infinity_codec.c:164:12: warning: 'infinity_soc_dai_suspend' defined but not used [-Wunused-function] 164 | static int infinity_soc_dai_suspend(struct snd_soc_dai *dai) | ^~~~~~~~~~~~~~~~~~~~~~~~ -- >> sound/soc/mstar/infinity_codec.c:39: warning: expecting prototype for Used to set Playback volume 0~76 (mapping to(). Prototype was for MAIN_PLAYBACK_VOLUME() instead >> sound/soc/mstar/infinity_codec.c:44: warning: expecting prototype for Used to set Capture volume 0~76 (mapping to(). Prototype was for MAIN_CAPTURE_VOLUME() instead >> sound/soc/mstar/infinity_codec.c:47: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Used to set microphone gain, total 5 bits , >> sound/soc/mstar/infinity_codec.c:55: warning: expecting prototype for Used to set line(). Prototype was for LINEIN_GAIN_LEVEL() instead >> sound/soc/mstar/infinity_codec.c:60: warning: expecting prototype for Used to set internal debug sinegen gain level 0~4 ((). Prototype was for SINEGEN_GAIN_LEVEL() instead sound/soc/mstar/infinity_codec.c:63: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Used to set internal debug sinegen rate set 0~10 (0 for singen disabling) sound/soc/mstar/infinity_codec.c:68: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Used to select audio playback input (DMA Reader, ADC In) >> sound/soc/mstar/infinity_codec.c:75: warning: expecting prototype for Used to select ADC input (Line-in, Mic(). Prototype was for ADC_MUX() instead vim +/infinity_audio_remove +200 sound/soc/mstar/infinity_soc.c 199 > 200 int infinity_audio_remove(struct platform_device *pdev) { 201 struct infinity_soc *soc = dev_get_drvdata(&pdev->dev); 202 snd_soc_unregister_card(&soc->card); 203 return 0; 204 } 205 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org