tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.7 head: 62f9ed5f8768d2425461737d77b83f888b525c06 commit: 03f6fc6de9192f4e4209ceee0e92f5947d44fc0a [149/182] ASoC: rt5682: Add the soundwire support config: sparc-randconfig-a001-20200310 (attached as .config) compiler: sparc-linux-gcc (GCC) 7.5.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 03f6fc6de9192f4e4209ceee0e92f5947d44fc0a # save the attached .config to linux build tree GCC_VERSION=7.5.0 make.cross ARCH=sparc If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All error/warnings (new ones prefixed by >>): >> sound/soc/codecs/rt5682.c:3698:1: warning: data definition has no type or storage class module_i2c_driver(rt5682_i2c_driver); ^~~~~~~~~~~~~~~~~ >> sound/soc/codecs/rt5682.c:3698:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] >> sound/soc/codecs/rt5682.c:3698:1: warning: parameter names (without types) in function declaration sound/soc/codecs/rt5682.c:3688:26: warning: 'rt5682_i2c_driver' defined but not used [-Wunused-variable] static struct i2c_driver rt5682_i2c_driver = { ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +3698 sound/soc/codecs/rt5682.c 0ddce71c21f03f Bard Liao 2018-06-07 3687 0ddce71c21f03f Bard Liao 2018-06-07 3688 static struct i2c_driver rt5682_i2c_driver = { 0ddce71c21f03f Bard Liao 2018-06-07 3689 .driver = { 0ddce71c21f03f Bard Liao 2018-06-07 3690 .name = "rt5682", 0ddce71c21f03f Bard Liao 2018-06-07 3691 .of_match_table = of_match_ptr(rt5682_of_match), 0ddce71c21f03f Bard Liao 2018-06-07 3692 .acpi_match_table = ACPI_PTR(rt5682_acpi_match), 0ddce71c21f03f Bard Liao 2018-06-07 3693 }, 0ddce71c21f03f Bard Liao 2018-06-07 3694 .probe = rt5682_i2c_probe, 0ddce71c21f03f Bard Liao 2018-06-07 3695 .shutdown = rt5682_i2c_shutdown, 0ddce71c21f03f Bard Liao 2018-06-07 3696 .id_table = rt5682_i2c_id, 0ddce71c21f03f Bard Liao 2018-06-07 3697 }; 0ddce71c21f03f Bard Liao 2018-06-07 @3698 module_i2c_driver(rt5682_i2c_driver); 0ddce71c21f03f Bard Liao 2018-06-07 3699 :::::: The code at line 3698 was first introduced by commit :::::: 0ddce71c21f03fd19867c4939d3ca710f37cdf1a ASoC: rt5682: add rt5682 codec driver :::::: TO: Bard Liao <bardliao@xxxxxxxxxxx> :::::: CC: Mark Brown <broonie@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip