Re: [PATCH 2/2] ASoC: Call snd_soc_set_dmi_name() unconditionally

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Takashi,

[auto build test ERROR on asoc/for-next]
[also build test ERROR on v4.11-rc7 next-20170421]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Takashi-Iwai/ASoC-Provide-a-dummy-wrapper-of-snd_soc_set_dmi_name/20170422-122651
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: x86_64-acpi-redef (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   sound/soc/soc-core.c: In function 'snd_soc_instantiate_card':
>> sound/soc/soc-core.c:2191:2: error: too few arguments to function 'snd_soc_set_dmi_name'
     snd_soc_set_dmi_name(card);
     ^~~~~~~~~~~~~~~~~~~~
   sound/soc/soc-core.c:1967:5: note: declared here
    int snd_soc_set_dmi_name(struct snd_soc_card *card, const char *flavour)
        ^~~~~~~~~~~~~~~~~~~~

vim +/snd_soc_set_dmi_name +2191 sound/soc/soc-core.c

  2185	
  2186		if (card->of_dapm_routes)
  2187			snd_soc_dapm_add_routes(&card->dapm, card->of_dapm_routes,
  2188						card->num_of_dapm_routes);
  2189	
  2190		/* try to set some sane longname if DMI is available */
> 2191		snd_soc_set_dmi_name(card);
  2192	
  2193		snprintf(card->snd_card->shortname, sizeof(card->snd_card->shortname),
  2194			 "%s", card->name);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux