From: kernel test robot <lkp@intel.com>
To: ckkim <changkon12@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, Dongjin Kim <tobetter@gmail.com>
Subject: [tobetter:odroid-7.2.y 53/58] sound/soc/codecs/es8316.c:928:1: error: type defaults to 'int' in declaration of 'module_i2c_driver'
Date: Thu, 13 Aug 2026 10:55:32 +0800 [thread overview]
Message-ID: <202608131010.YfkJD9DL-lkp@intel.com> (raw)
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: nios2-randconfig-002-20260813 (https://download.01.org/0day-ci/archive/20260813/202608131010.YfkJD9DL-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/20260813/202608131010.YfkJD9DL-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/202608131010.YfkJD9DL-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> sound/soc/codecs/es8316.c:928:1: warning: data definition has no type or storage class
928 | module_i2c_driver(es8316_i2c_driver);
| ^~~~~~~~~~~~~~~~~
>> sound/soc/codecs/es8316.c:928:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
>> sound/soc/codecs/es8316.c:928:1: warning: parameter names (without types) in function declaration
>> sound/soc/codecs/es8316.c:919:26: warning: 'es8316_i2c_driver' defined but not used [-Wunused-variable]
919 | 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 [y]:
- SND_MESON_AXG_FIFO [=y] && SOUND [=y] && SND [=y] && SND_SOC [=y] && (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 [=y] && I2C [=n]
Selected by [y]:
- SND_SOC_ROCKCHIP_I2S [=y] && SOUND [=y] && SND [=y] && SND_SOC [=y] && (COMPILE_TEST [=y] || ARCH_ROCKCHIP) && HAVE_CLK [=y]
vim +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 <drake@endlessm.com>
:::::: CC: Mark Brown <broonie@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-08-13 2:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202608131010.YfkJD9DL-lkp@intel.com \
--to=lkp@intel.com \
--cc=changkon12@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tobetter@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.