[alsa-devel] [PATCH 2/2] ASoC: Call snd_soc_set_dmi_name() unconditionally
kbuild test robot
lkp at intel.com
Sat Apr 22 07:49:07 CEST 2017
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 29551 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170422/0483bdbe/attachment-0001.bin>
More information about the Alsa-devel
mailing list