* [morimoto:sound-cleanup-2026-04-20-2 147/147] sound/soc/ti/n810.c:287:20: error: 'snd_soc_card_driver' undeclared here (not in a function)
@ 2026-04-23 1:00 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-23 1:00 UTC (permalink / raw)
To: Kuninori Morimoto; +Cc: oe-kbuild-all
tree: https://github.com/morimoto/linux sound-cleanup-2026-04-20-2
head: 1604ab9b37c0f7145cc187f24e3aca5b4e318eb1
commit: 2307ef10ca1bc4e93bd613bc369b2322d421dede [147/147] ASoC: soc-core: use snd_soc_card_register()
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20260423/202604230845.vlboVpd6-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260423/202604230845.vlboVpd6-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/202604230845.vlboVpd6-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/soc/ti/n810.c:287:20: error: 'snd_soc_card_driver' undeclared here (not in a function)
287 | .driver = &snd_soc_card_driver,
| ^~~~~~~~~~~~~~~~~~~
sound/soc/ti/n810.c:272:35: warning: 'snd_soc_driver' defined but not used [-Wunused-variable]
272 | static struct snd_soc_card_driver snd_soc_driver = {
| ^~~~~~~~~~~~~~
--
>> sound/soc/ti/omap3pandora.c:223:19: error: initialization of 'const char *' from incompatible pointer type 'struct snd_soc_card_driver *' [-Wincompatible-pointer-types]
223 | .driver = &snd_soc_card_driver,
| ^
sound/soc/ti/omap3pandora.c:223:19: note: (near initialization for 'snd_soc_card_omap3pandora.driver.name')
sound/soc/ti/omap3pandora.c:220:65: warning: missing braces around initializer [-Wmissing-braces]
220 | static struct snd_soc_card_platform snd_soc_card_omap3pandora = {
| ^
......
223 | .driver = &snd_soc_card_driver,
| {
224 | };
| }
vim +/snd_soc_card_driver +287 sound/soc/ti/n810.c
283
284 static struct snd_soc_card_platform snd_soc_n810 = {
285 .name = "N810",
286 .owner = THIS_MODULE,
> 287 .driver = &snd_soc_card_driver,
288 };
289
--
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-04-23 1:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-23 1:00 [morimoto:sound-cleanup-2026-04-20-2 147/147] sound/soc/ti/n810.c:287:20: error: 'snd_soc_card_driver' undeclared here (not in a function) 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.