All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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)
Date: Thu, 23 Apr 2026 09:00:57 +0800	[thread overview]
Message-ID: <202604230845.vlboVpd6-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-04-23  1:01 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=202604230845.vlboVpd6-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.