Skip to contentSkip to conversation

linux-next: build failure after merge of the sound-asoc tree

DISCUSSION Stephen Rothwell 3 participants 4 messages Feb 15, 2018 – Feb 16, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the sound-asoc tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

/home/sfr/next/next/sound/soc/soc-core.c: In function 'snd_soc_register_codec':
/home/sfr/next/next/sound/soc/soc-core.c:3818:8: error: too many arguments to function 'snd_soc_register_dais'

  ret = snd_soc_register_dais(&codec->component, dai_drv, num_dai, false);
        ^~~~~~~~~~~~~~~~~~~~~
/home/sfr/next/next/sound/soc/soc-core.c:3114:12: note: declared here
 static int snd_soc_register_dais(struct snd_soc_component *component,
            ^~~~~~~~~~~~~~~~~~~~~   

Caused by commit

a8768c52c511 ("ASoC: soc-core: remove legacy_dai_naming from snd_soc_register_dais()")

I have used the sound-asoc tree from next-20180214 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Stephen

Thank you for reporting.
It is my fault, this patch might cause other issue. I'm asking to Mark to remove it from his branch.

Quoted 20 lines

After merging the sound-asoc tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

/home/sfr/next/next/sound/soc/soc-core.c: In function 'snd_soc_register_codec':
/home/sfr/next/next/sound/soc/soc-core.c:3818:8: error: too many arguments to function 'snd_soc_register_dais'

  ret = snd_soc_register_dais(&codec->component, dai_drv, num_dai, false);
        ^~~~~~~~~~~~~~~~~~~~~
/home/sfr/next/next/sound/soc/soc-core.c:3114:12: note: declared here
 static int snd_soc_register_dais(struct snd_soc_component *component,
            ^~~~~~~~~~~~~~~~~~~~~   

Caused by commit

a8768c52c511 ("ASoC: soc-core: remove legacy_dai_naming from snd_soc_register_dais()")

I have used the sound-asoc tree from next-20180214 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
maintainer
#2 lore raw
Quoted 6 lines · Kuninori Morimoto

Hi Stephen

Thank you for reporting.
It is my fault, this patch might cause other issue. I'm asking to Mark to remove it from his branch.

Dropped.

#3 lore raw

Hi Mark

Quoted 5 lines
Quoted 3 lines

Thank you for reporting.
It is my fault, this patch might cause other issue. I'm asking to Mark to remove it from his branch.

Dropped.

Thank you !

Best regards
---
Kuninori Morimoto