* [asahilinux:bits/070-audio 11/120] sound/soc/codecs/tas2764.c:811:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int
@ 2024-09-12 23:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-12 23:56 UTC (permalink / raw)
To: Martin Povišer; +Cc: llvm, oe-kbuild-all, Janne Grunau
tree: https://github.com/AsahiLinux/linux bits/070-audio
head: 8bb0ee8e8fd75aa60a4bb4efe074711f2c35ca5c
commit: 4505843a945e1d46e759f01c0822a855eec41cea [11/120] ASoC: apple: Add macaudio machine driver
config: arm64-randconfig-004-20240913 (https://download.01.org/0day-ci/archive/20240913/202409130720.UbqysLMg-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project bf684034844c660b778f0eba103582f582b710c9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240913/202409130720.UbqysLMg-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/202409130720.UbqysLMg-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from sound/soc/codecs/tas2764.c:12:
In file included from include/linux/i2c.h:19:
In file included from include/linux/regulator/consumer.h:35:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:21:
In file included from include/linux/mm.h:2258:
include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
sound/soc/codecs/tas2764.c:758:20: warning: cast to smaller integer type 'enum tas2764_devid' from 'const void *' [-Wvoid-pointer-to-enum-cast]
758 | tas2764->devid = (enum tas2764_devid) of_id->data;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/tas2764.c:811:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
811 | module_i2c_driver(tas2764_i2c_driver);
| ^
| int
>> sound/soc/codecs/tas2764.c:811:19: error: a parameter list without types is only allowed in a function definition
811 | module_i2c_driver(tas2764_i2c_driver);
| ^
2 warnings and 2 errors generated.
--
In file included from sound/soc/codecs/cs42l83-i2c.c:9:
In file included from include/linux/i2c.h:19:
In file included from include/linux/regulator/consumer.h:35:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:21:
In file included from include/linux/mm.h:2258:
include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> sound/soc/codecs/cs42l83-i2c.c:235:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
235 | module_i2c_driver(cs42l83_i2c_driver);
| ^
| int
>> sound/soc/codecs/cs42l83-i2c.c:235:19: error: a parameter list without types is only allowed in a function definition
235 | module_i2c_driver(cs42l83_i2c_driver);
| ^
1 warning and 2 errors generated.
--
In file included from sound/soc/codecs/tas2770.c:16:
In file included from include/linux/i2c.h:19:
In file included from include/linux/regulator/consumer.h:35:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:21:
In file included from include/linux/mm.h:2258:
include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> sound/soc/codecs/tas2770.c:726:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
726 | module_i2c_driver(tas2770_i2c_driver);
| ^
| int
>> sound/soc/codecs/tas2770.c:726:19: error: a parameter list without types is only allowed in a function definition
726 | module_i2c_driver(tas2770_i2c_driver);
| ^
1 warning and 2 errors generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_SOC_CS42L83
Depends on [n]: SOUND [=y] && SND [=y] && SND_SOC [=m] && I2C [=n]
Selected by [m]:
- SND_SOC_APPLE_MACAUDIO [=m] && SOUND [=y] && SND [=y] && SND_SOC [=m] && (ARCH_APPLE [=y] || COMPILE_TEST [=y])
WARNING: unmet direct dependencies detected for SND_SOC_TAS2764
Depends on [n]: SOUND [=y] && SND [=y] && SND_SOC [=m] && I2C [=n]
Selected by [m]:
- SND_SOC_APPLE_MACAUDIO [=m] && SOUND [=y] && SND [=y] && SND_SOC [=m] && (ARCH_APPLE [=y] || COMPILE_TEST [=y])
WARNING: unmet direct dependencies detected for SND_SOC_TAS2770
Depends on [n]: SOUND [=y] && SND [=y] && SND_SOC [=m] && I2C [=n]
Selected by [m]:
- SND_SOC_APPLE_MACAUDIO [=m] && SOUND [=y] && SND [=y] && SND_SOC [=m] && (ARCH_APPLE [=y] || COMPILE_TEST [=y])
vim +/int +811 sound/soc/codecs/tas2764.c
827ed8a0fa50bd Dan Murphy 2020-10-07 802
827ed8a0fa50bd Dan Murphy 2020-10-07 803 static struct i2c_driver tas2764_i2c_driver = {
827ed8a0fa50bd Dan Murphy 2020-10-07 804 .driver = {
827ed8a0fa50bd Dan Murphy 2020-10-07 805 .name = "tas2764",
827ed8a0fa50bd Dan Murphy 2020-10-07 806 .of_match_table = of_match_ptr(tas2764_of_match),
827ed8a0fa50bd Dan Murphy 2020-10-07 807 },
9abcd24002bf79 Uwe Kleine-König 2023-04-25 808 .probe = tas2764_i2c_probe,
827ed8a0fa50bd Dan Murphy 2020-10-07 809 .id_table = tas2764_i2c_id,
827ed8a0fa50bd Dan Murphy 2020-10-07 810 };
827ed8a0fa50bd Dan Murphy 2020-10-07 @811 module_i2c_driver(tas2764_i2c_driver);
827ed8a0fa50bd Dan Murphy 2020-10-07 812
:::::: The code at line 811 was first introduced by commit
:::::: 827ed8a0fa50bdd365c9f4c9f6ef561ca7032e49 ASoC: tas2764: Add the driver for the TAS2764
:::::: TO: Dan Murphy <dmurphy@ti.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:[~2024-09-12 23:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-12 23:56 [asahilinux:bits/070-audio 11/120] sound/soc/codecs/tas2764.c:811:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox