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-06-16 324/326] sound/soc/soc-card.c:1286:13: error: 'struct snd_soc_card' has no member named 'pci_subsystem_vendor'
Date: Tue, 16 Jun 2026 22:49:16 +0200	[thread overview]
Message-ID: <202606162245.0fDBnRze-lkp@intel.com> (raw)

tree:   https://github.com/morimoto/linux sound-cleanup-2026-06-16
head:   5ce50ac7d0a59c6fb15e1baa7e6824ac096fe092
commit: 347e73ad9dec0dbc10c4c7b5678981c7bf4cb422 [324/326] ASoC: soc.h: remove compatible definition
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20260616/202606162245.0fDBnRze-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260616/202606162245.0fDBnRze-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/202606162245.0fDBnRze-lkp@intel.com/

All errors (new ones prefixed by >>):

         |                     ^~
   sound/soc/soc-card.c:962:80: error: 'struct snd_soc_card' has no member named 'name'
     962 |                                                           "%s-%s", prefix, card->name);
         |                                                                                ^~
   sound/soc/soc-card.c:964:13: error: 'struct snd_soc_card' has no member named 'name'
     964 |         card->name = card->topology_shortname;
         |             ^~
   sound/soc/soc-card.c:964:26: error: 'struct snd_soc_card' has no member named 'topology_shortname'
     964 |         card->name = card->topology_shortname;
         |                          ^~
   sound/soc/soc-card.c: In function 'soc_card_bind':
   sound/soc/soc-card.c:1025:50: error: 'struct snd_soc_card' has no member named 'dai_link'
    1025 |         ret = snd_soc_add_pcm_runtimes(card, card->dai_link, card->num_links);
         |                                                  ^~
   sound/soc/soc-card.c:1025:66: error: 'struct snd_soc_card' has no member named 'num_links'
    1025 |         ret = snd_soc_add_pcm_runtimes(card, card->dai_link, card->num_links);
         |                                                                  ^~
   sound/soc/soc-card.c:1031:32: error: 'struct snd_soc_card' has no member named 'owner'
    1031 |                            card->owner, 0, &card->snd_card);
         |                                ^~
   sound/soc/soc-card.c:1043:51: error: 'struct snd_soc_card' has no member named 'dapm_widgets'
    1043 |         ret = snd_soc_dapm_new_controls(dapm, card->dapm_widgets,
         |                                                   ^~
   sound/soc/soc-card.c:1044:45: error: 'struct snd_soc_card' has no member named 'num_dapm_widgets'
    1044 |                                         card->num_dapm_widgets);
         |                                             ^~
   sound/soc/soc-card.c:1048:51: error: 'struct snd_soc_card' has no member named 'of_dapm_widgets'
    1048 |         ret = snd_soc_dapm_new_controls(dapm, card->of_dapm_widgets,
         |                                                   ^~
   sound/soc/soc-card.c:1049:45: error: 'struct snd_soc_card' has no member named 'num_of_dapm_widgets'
    1049 |                                         card->num_of_dapm_widgets);
         |                                             ^~
   sound/soc/soc-card.c:1093:51: error: 'struct snd_soc_card' has no member named 'controls'
    1093 |         ret = snd_soc_card_add_controls(card, card->controls,
         |                                                   ^~
   sound/soc/soc-card.c:1094:45: error: 'struct snd_soc_card' has no member named 'num_controls'
    1094 |                                         card->num_controls);
         |                                             ^~
   sound/soc/soc-card.c:1098:51: error: 'struct snd_soc_card' has no member named 'dapm_routes'; did you mean 'dapm_mutex'?
    1098 |         ret = snd_soc_dapm_add_routes(dapm, card->dapm_routes,
         |                                                   ^~~~~~~~~~~
         |                                                   dapm_mutex
   sound/soc/soc-card.c:1099:43: error: 'struct snd_soc_card' has no member named 'num_dapm_routes'
    1099 |                                       card->num_dapm_routes);
         |                                           ^~
   sound/soc/soc-card.c:1103:49: error: 'struct snd_soc_card' has no member named 'of_dapm_routes'
    1103 |         ret = snd_soc_dapm_add_routes(dapm, card->of_dapm_routes,
         |                                                 ^~
   sound/soc/soc-card.c:1104:43: error: 'struct snd_soc_card' has no member named 'num_of_dapm_routes'
    1104 |                                       card->num_of_dapm_routes);
         |                                           ^~
   sound/soc/soc-card.c:1111:69: error: 'struct snd_soc_card' has no member named 'name'
    1111 |         soc_card_setup_name(card, card->snd_card->shortname,    card->name,             NULL);
         |                                                                     ^~
   sound/soc/soc-card.c:628:57: note: in definition of macro 'soc_card_setup_name'
     628 |         __soc_card_setup_name(card, name, sizeof(name), name1, name2)
         |                                                         ^~~~~
   sound/soc/soc-card.c:1112:69: error: 'struct snd_soc_card' has no member named 'long_name'
    1112 |         soc_card_setup_name(card, card->snd_card->longname,     card->long_name,        card->name);
         |                                                                     ^~
   sound/soc/soc-card.c:628:57: note: in definition of macro 'soc_card_setup_name'
     628 |         __soc_card_setup_name(card, name, sizeof(name), name1, name2)
         |                                                         ^~~~~
   sound/soc/soc-card.c:1112:93: error: 'struct snd_soc_card' has no member named 'name'
    1112 |         soc_card_setup_name(card, card->snd_card->longname,     card->long_name,        card->name);
         |                                                                                             ^~
   sound/soc/soc-card.c:628:64: note: in definition of macro 'soc_card_setup_name'
     628 |         __soc_card_setup_name(card, name, sizeof(name), name1, name2)
         |                                                                ^~~~~
   sound/soc/soc-card.c:1113:69: error: 'struct snd_soc_card' has no member named 'driver_name'
    1113 |         soc_card_setup_name(card, card->snd_card->driver,       card->driver_name,      card->name);
         |                                                                     ^~
   sound/soc/soc-card.c:628:57: note: in definition of macro 'soc_card_setup_name'
     628 |         __soc_card_setup_name(card, name, sizeof(name), name1, name2)
         |                                                         ^~~~~
   sound/soc/soc-card.c:1113:93: error: 'struct snd_soc_card' has no member named 'name'
    1113 |         soc_card_setup_name(card, card->snd_card->driver,       card->driver_name,      card->name);
         |                                                                                             ^~
   sound/soc/soc-card.c:628:64: note: in definition of macro 'soc_card_setup_name'
     628 |         __soc_card_setup_name(card, name, sizeof(name), name1, name2)
         |                                                                ^~~~~
   sound/soc/soc-card.c:1115:17: error: 'struct snd_soc_card' has no member named 'components'
    1115 |         if (card->components) {
         |                 ^~
   sound/soc/soc-card.c:1120:61: error: 'struct snd_soc_card' has no member named 'components'
    1120 |                 ret = snd_component_add(card->snd_card, card->components);
         |                                                             ^~
   In file included from include/linux/device.h:15,
                    from include/sound/core.h:10,
                    from sound/soc/soc-card.c:14:
   sound/soc/soc-card.c:1123:37: error: 'struct snd_soc_card' has no member named 'name'
    1123 |                                 card->name, ret);
         |                                     ^~
   include/linux/dev_printk.h:110:37: note: in definition of macro 'dev_printk_index_wrap'
     110 |                 _p_func(dev, fmt, ##__VA_ARGS__);                       \
         |                                     ^~~~~~~~~~~
   sound/soc/soc-card.c:1122:25: note: in expansion of macro 'dev_err'
    1122 |                         dev_err(card->dev, "ASoC: %s snd_component_add() failed: %d\n",
         |                         ^~~~~~~
   sound/soc/soc-card.c: In function 'snd_soc_card_set_pci_ssid':
>> sound/soc/soc-card.c:1286:13: error: 'struct snd_soc_card' has no member named 'pci_subsystem_vendor'
    1286 |         card->pci_subsystem_vendor = vendor;
         |             ^~
>> sound/soc/soc-card.c:1287:13: error: 'struct snd_soc_card' has no member named 'pci_subsystem_device'
    1287 |         card->pci_subsystem_device = device;
         |             ^~
>> sound/soc/soc-card.c:1288:13: error: 'struct snd_soc_card' has no member named 'pci_subsystem_set'
    1288 |         card->pci_subsystem_set = true;
         |             ^~
   sound/soc/soc-card.c: In function 'snd_soc_card_get_pci_ssid':
   sound/soc/soc-card.c:1311:18: error: 'struct snd_soc_card' has no member named 'pci_subsystem_set'
    1311 |         if (!card->pci_subsystem_set)
         |                  ^~
   sound/soc/soc-card.c:1314:23: error: 'struct snd_soc_card' has no member named 'pci_subsystem_vendor'
    1314 |         *vendor = card->pci_subsystem_vendor;
         |                       ^~
   sound/soc/soc-card.c:1315:23: error: 'struct snd_soc_card' has no member named 'pci_subsystem_device'
    1315 |         *device = card->pci_subsystem_device;
         |                       ^~
   sound/soc/soc-card.c: At top level:
   sound/soc/soc-card.c:1352:5: warning: no previous prototype for 'snd_soc_register_card' [-Wmissing-prototypes]
    1352 | int snd_soc_register_card(struct snd_soc_card *card)
         |     ^~~~~~~~~~~~~~~~~~~~~
   sound/soc/soc-card.c: In function 'snd_soc_register_card':
   sound/soc/soc-card.c:1354:18: error: 'struct snd_soc_card' has no member named 'name'
    1354 |         if (!card->name || !card->dev)
         |                  ^~
   sound/soc/soc-card.c: In function 'snd_soc_card_register3':
   sound/soc/soc-card.c:1402:13: error: 'struct snd_soc_card' has no member named 'name'
    1402 |         card->name                              = driver->name;
         |             ^~
   sound/soc/soc-card.c:1403:13: error: 'struct snd_soc_card' has no member named 'long_name'
    1403 |         card->long_name                         = driver->long_name;
         |             ^~
   sound/soc/soc-card.c:1404:13: error: 'struct snd_soc_card' has no member named 'driver_name'
    1404 |         card->driver_name                       = driver->driver_name;
         |             ^~
   sound/soc/soc-card.c:1405:13: error: 'struct snd_soc_card' has no member named 'components'
    1405 |         card->components                        = driver->components;
         |             ^~
   sound/soc/soc-card.c:1407:13: error: 'struct snd_soc_card' has no member named 'dai_link'
    1407 |         card->dai_link                          = driver->dai_link;
         |             ^~
   sound/soc/soc-card.c:1408:13: error: 'struct snd_soc_card' has no member named 'num_links'
    1408 |         card->num_links                         = driver->num_links;
         |             ^~
   sound/soc/soc-card.c:1409:13: error: 'struct snd_soc_card' has no member named 'codec_conf'
    1409 |         card->codec_conf                        = driver->codec_conf;
         |             ^~
   sound/soc/soc-card.c:1410:13: error: 'struct snd_soc_card' has no member named 'num_configs'
    1410 |         card->num_configs                       = driver->num_configs;
         |             ^~
   sound/soc/soc-card.c:1411:13: error: 'struct snd_soc_card' has no member named 'aux_dev'
    1411 |         card->aux_dev                           = driver->aux_dev;
         |             ^~
   sound/soc/soc-card.c:1412:13: error: 'struct snd_soc_card' has no member named 'num_aux_devs'
    1412 |         card->num_aux_devs                      = driver->num_aux_devs;
         |             ^~
   sound/soc/soc-card.c:1413:13: error: 'struct snd_soc_card' has no member named 'controls'
    1413 |         card->controls                          = driver->controls;
         |             ^~
   sound/soc/soc-card.c:1414:13: error: 'struct snd_soc_card' has no member named 'num_controls'
    1414 |         card->num_controls                      = driver->num_controls;
         |             ^~
   sound/soc/soc-card.c:1415:13: error: 'struct snd_soc_card' has no member named 'dapm_widgets'
    1415 |         card->dapm_widgets                      = driver->dapm_widgets;
         |             ^~
   sound/soc/soc-card.c:1416:13: error: 'struct snd_soc_card' has no member named 'num_dapm_widgets'
    1416 |         card->num_dapm_widgets                  = driver->num_dapm_widgets;
         |             ^~
   sound/soc/soc-card.c:1417:15: error: 'struct snd_soc_card' has no member named 'dapm_routes'; did you mean 'dapm_mutex'?
    1417 |         card->dapm_routes                       = driver->dapm_routes;
         |               ^~~~~~~~~~~
         |               dapm_mutex
   sound/soc/soc-card.c:1418:13: error: 'struct snd_soc_card' has no member named 'num_dapm_routes'
    1418 |         card->num_dapm_routes                   = driver->num_dapm_routes;
         |             ^~
   sound/soc/soc-card.c:1419:13: error: 'struct snd_soc_card' has no member named 'of_dapm_widgets'
    1419 |         card->of_dapm_widgets                   = driver->of_dapm_widgets;
         |             ^~
   sound/soc/soc-card.c:1420:13: error: 'struct snd_soc_card' has no member named 'num_of_dapm_widgets'
    1420 |         card->num_of_dapm_widgets               = driver->num_of_dapm_widgets;
         |             ^~
   sound/soc/soc-card.c:1421:13: error: 'struct snd_soc_card' has no member named 'of_dapm_routes'
    1421 |         card->of_dapm_routes                    = driver->of_dapm_routes;
         |             ^~
   sound/soc/soc-card.c:1422:13: error: 'struct snd_soc_card' has no member named 'num_of_dapm_routes'
    1422 |         card->num_of_dapm_routes                = driver->num_of_dapm_routes;
         |             ^~
   sound/soc/soc-card.c:1423:13: error: 'struct snd_soc_card' has no member named 'of_ignore_suspend_widgets'
    1423 |         card->of_ignore_suspend_widgets         = driver->of_ignore_suspend_widgets;
         |             ^~
   sound/soc/soc-card.c:1424:13: error: 'struct snd_soc_card' has no member named 'num_of_ignore_suspend_widgets'
    1424 |         card->num_of_ignore_suspend_widgets     = driver->num_of_ignore_suspend_widgets;
         |             ^~
   sound/soc/soc-card.c:1425:13: error: 'struct snd_soc_card' has no member named 'fully_routed'
    1425 |         card->fully_routed                      = driver->fully_routed;
         |             ^~
   sound/soc/soc-card.c:1426:13: error: 'struct snd_soc_card' has no member named 'component_chaining'
    1426 |         card->component_chaining                = driver->component_chaining;
         |             ^~
   sound/soc/soc-card.c:1428:13: error: 'struct snd_soc_card' has no member named 'pci_subsystem_vendor'
    1428 |         card->pci_subsystem_vendor              = driver->pci_subsystem_vendor;
         |             ^~
   sound/soc/soc-card.c:1429:13: error: 'struct snd_soc_card' has no member named 'pci_subsystem_device'
    1429 |         card->pci_subsystem_device              = driver->pci_subsystem_device;
         |             ^~
--
   sound/soc/intel/boards/bytcht_da7213.c: In function 'bytcht_da7213_probe':
>> sound/soc/intel/boards/bytcht_da7213.c:269:19: error: implicit declaration of function 'snd_soc_fixup_dai_links_platform_name'; did you mean 'snd_soc_card_fixup_dai_links_platform_name'? [-Wimplicit-function-declaration]
     269 |         ret_val = snd_soc_fixup_dai_links_platform_name(card, platform_name);
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                   snd_soc_card_fixup_dai_links_platform_name


vim +1286 sound/soc/soc-card.c

9666422c9fc116 Kuninori Morimoto 2026-06-10  1280  
9666422c9fc116 Kuninori Morimoto 2026-06-10  1281  /* REMOVE ME */
789d6dc80311d8 Kuninori Morimoto 2026-03-26  1282  void snd_soc_card_set_pci_ssid(struct snd_soc_card *card,
789d6dc80311d8 Kuninori Morimoto 2026-03-26  1283  			       unsigned short vendor,
789d6dc80311d8 Kuninori Morimoto 2026-03-26  1284  			       unsigned short device)
789d6dc80311d8 Kuninori Morimoto 2026-03-26  1285  {
789d6dc80311d8 Kuninori Morimoto 2026-03-26 @1286  	card->pci_subsystem_vendor = vendor;
789d6dc80311d8 Kuninori Morimoto 2026-03-26 @1287  	card->pci_subsystem_device = device;
789d6dc80311d8 Kuninori Morimoto 2026-03-26 @1288  	card->pci_subsystem_set = true;
789d6dc80311d8 Kuninori Morimoto 2026-03-26  1289  }
789d6dc80311d8 Kuninori Morimoto 2026-03-26  1290  EXPORT_SYMBOL_GPL(snd_soc_card_set_pci_ssid);
789d6dc80311d8 Kuninori Morimoto 2026-03-26  1291  

:::::: The code at line 1286 was first introduced by commit
:::::: 789d6dc80311d84d93dd24b965cdd0319108562c ASoC: soc-card: move snd_soc_card_{set/get}_pci_ssid() to soc-card.c

:::::: TO: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
:::::: CC: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-06-16 20:50 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=202606162245.0fDBnRze-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.