Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Aug 18, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the sound tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

sound/aoa/soundbus/i2sbus/pcm.c: In function 'i2sbus_attach_codec':
sound/aoa/soundbus/i2sbus/pcm.c:975:61: error: invalid type argument of '->' (have 'struct snd_pcm_str')
975 | dev->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]->dev.parent =
| ^~
sound/aoa/soundbus/i2sbus/pcm.c:992:60: error: invalid type argument of '->' (have 'struct snd_pcm_str')
992 | dev->pcm->streams[SNDRV_PCM_STREAM_CAPTURE]->dev.parent =
| ^~

Caused by commit

bc41a7228ced ("ALSA: pcm: Don't embed device")

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

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

Hi all,

After merging the sound tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

sound/aoa/soundbus/i2sbus/pcm.c: In function 'i2sbus_attach_codec':
sound/aoa/soundbus/i2sbus/pcm.c:975:61: error: invalid type argument of '->' (have 'struct snd_pcm_str')
975 | dev->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]->dev.parent =
| ^~
sound/aoa/soundbus/i2sbus/pcm.c:992:60: error: invalid type argument of '->' (have 'struct snd_pcm_str')
992 | dev->pcm->streams[SNDRV_PCM_STREAM_CAPTURE]->dev.parent =
| ^~

Quoted 5 lines

Caused by commit

bc41a7228ced ("ALSA: pcm: Don't embed device")

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

There were obvious typos in the patch, and fixed in for-next branch now. Sorry for the mess.

Takashi