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

From: Takashi Iwai
Date: Fri Aug 18 2023 - 07:48:01 EST


On Fri, 18 Aug 2023 05:12:55 +0200,
Stephen Rothwell wrote:
>
> 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.

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


Takashi