[tobetter:odroid-7.2.y 53/58] sound/soc/codecs/es8316.c:928:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/tobetter/linux odroid-7.2.y head: a105acaa179819b345f92c1de3b2628b9d1a31f9 commit: 4093d770faddfc408c741a41d0dbf37a3787f32d [53/58] ODROID-M2:arm64/dts: hdmi / analog sound_card support config: riscv-randconfig-r132-20260812 (https://download.01.org/0day-ci/archive/20260813/[email protected]/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260813/[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]/ All errors (new ones prefixed by >>): >> sound/soc/codecs/es8316.c:928:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 928 | module_i2c_driver(es8316_i2c_driver); | ^ | int >> sound/soc/codecs/es8316.c:928:19: error: a parameter list without types is only allowed in a function definition 928 | module_i2c_driver(es8316_i2c_driver); | ^ 2 errors generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for COMMON_CLK_AXG_AUDIO Depends on [n]: COMMON_CLK [=y] && (ARCH_MESON || COMPILE_TEST [=y]) && ARM64 Selected by [m]: - SND_MESON_AXG_FIFO [=m] && SOUND [=y] && SND [=m] && SND_SOC [=m] && (ARCH_MESON || COMPILE_TEST [=y] && COMMON_CLK [=y]) WARNING: unmet direct dependencies detected for SND_SOC_ES8316 Depends on [n]: SOUND [=y] && SND [=m] && SND_SOC [=m] && I2C [=n] Selected by [m]: - SND_SOC_ROCKCHIP_I2S [=m] && SOUND [=y] && SND [=m] && SND_SOC [=m] && (COMPILE_TEST [=y] || ARCH_ROCKCHIP) && HAVE_CLK [=y] vim +/int +928 sound/soc/codecs/es8316.c b8b88b70875af7 Daniel Drake 2017-06-12 918 b8b88b70875af7 Daniel Drake 2017-06-12 919 static struct i2c_driver es8316_i2c_driver = { b8b88b70875af7 Daniel Drake 2017-06-12 920 .driver = { b8b88b70875af7 Daniel Drake 2017-06-12 921 .name = "es8316", b8b88b70875af7 Daniel Drake 2017-06-12 922 .acpi_match_table = ACPI_PTR(es8316_acpi_match), b8b88b70875af7 Daniel Drake 2017-06-12 923 .of_match_table = of_match_ptr(es8316_of_match), b8b88b70875af7 Daniel Drake 2017-06-12 924 }, 9abcd24002bf79 Uwe Kleine-König 2023-04-25 925 .probe = es8316_i2c_probe, b8b88b70875af7 Daniel Drake 2017-06-12 926 .id_table = es8316_i2c_id, b8b88b70875af7 Daniel Drake 2017-06-12 927 }; b8b88b70875af7 Daniel Drake 2017-06-12 @928 module_i2c_driver(es8316_i2c_driver); b8b88b70875af7 Daniel Drake 2017-06-12 929 :::::: The code at line 928 was first introduced by commit :::::: b8b88b70875af786d9f346d766fa2b0630e2cf41 ASoC: add es8316 codec driver :::::: TO: Daniel Drake <[email protected]> :::::: CC: Mark Brown <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki