* [tobetter:odroid-7.3.y 52/59] sound/soc/codecs/es8316.c:936:1: error: type defaults to 'int' in declaration of 'module_i2c_driver'
@ 2026-10-24 18:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-24 18:06 UTC (permalink / raw)
To: ckkim; +Cc: oe-kbuild-all, Dongjin Kim
Hi ckkim,
First bad commit (maybe != root cause):
tree: https://github.com/tobetter/linux odroid-7.3.y
head: c30cb664bead7336f81c7a7c7c82709ee1f803cf
commit: 429218390c9badcef576aaa621995ee3a2d8b453 [52/59] ODROID-M2:arm64/dts: hdmi / analog sound_card support
config: nios2-randconfig-r2107-20261024 (https://download.01.org/0day-ci/archive/20261024/202610241902.peigNPpa-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261024/202610241902.peigNPpa-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610241902.peigNPpa-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> sound/soc/codecs/es8316.c:936:1: warning: data definition has no type or storage class
936 | module_i2c_driver(es8316_i2c_driver);
| ^~~~~~~~~~~~~~~~~
>> sound/soc/codecs/es8316.c:936:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
>> sound/soc/codecs/es8316.c:936:1: warning: parameter names (without types) in function declaration
>> sound/soc/codecs/es8316.c:927:26: warning: 'es8316_i2c_driver' defined but not used [-Wunused-variable]
927 | static struct i2c_driver es8316_i2c_driver = {
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
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 [=y] && 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 [=y] && SND_SOC [=m] && I2C [=n]
Selected by [m]:
- SND_SOC_ROCKCHIP_I2S [=m] && SOUND [=y] && SND [=y] && SND_SOC [=m] && (COMPILE_TEST [=y] || ARCH_ROCKCHIP) && HAVE_CLK [=y]
vim +936 sound/soc/codecs/es8316.c
b8b88b70875af78 Daniel Drake 2017-06-12 926
b8b88b70875af78 Daniel Drake 2017-06-12 @927 static struct i2c_driver es8316_i2c_driver = {
b8b88b70875af78 Daniel Drake 2017-06-12 928 .driver = {
b8b88b70875af78 Daniel Drake 2017-06-12 929 .name = "es8316",
b8b88b70875af78 Daniel Drake 2017-06-12 930 .acpi_match_table = ACPI_PTR(es8316_acpi_match),
b8b88b70875af78 Daniel Drake 2017-06-12 931 .of_match_table = of_match_ptr(es8316_of_match),
b8b88b70875af78 Daniel Drake 2017-06-12 932 },
9abcd24002bf799 Uwe Kleine-König 2023-04-25 933 .probe = es8316_i2c_probe,
b8b88b70875af78 Daniel Drake 2017-06-12 934 .id_table = es8316_i2c_id,
b8b88b70875af78 Daniel Drake 2017-06-12 935 };
b8b88b70875af78 Daniel Drake 2017-06-12 @936 module_i2c_driver(es8316_i2c_driver);
b8b88b70875af78 Daniel Drake 2017-06-12 937
:::::: The code at line 936 was first introduced by commit
:::::: b8b88b70875af786d9f346d766fa2b0630e2cf41 ASoC: add es8316 codec driver
:::::: TO: Daniel Drake <drake@endlessm.com>
:::::: CC: Mark Brown <broonie@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-24 18:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-24 18:06 [tobetter:odroid-7.3.y 52/59] sound/soc/codecs/es8316.c:936:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.