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

Takashi Iwai
2025-01-20T07:42:23Z

On Mon, 20 Jan 2025 04:56:17 +0100,
Stephen Rothwell wrote:
>
> Hi all,
>
> After merging the sound tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> sound/usb/fcp.c: In function 'fcp_hwdep_init':
> sound/usb/fcp.c:889:22: error: assignment to 'long int (*)(struct snd_hwdep *, char *, long int, loff_t *)' {aka 'long int (*)(struct snd_hwdep *, char *, long int, long long int *)'} from incompatible pointer type 'ssize_t (*)(struct snd_hwdep *, char *, long int, loff_t *)' {aka 'int (*)(struct snd_hwdep *, char *, long int, long long int *)'} [-Wincompatible-pointer-types]
> 889 | hw->ops.read = fcp_hwdep_read;
> | ^
>
> Caused by commit
>
> 46757a3e7d50 ("ALSA: FCP: Add Focusrite Control Protocol driver")
>
> I have applied the following patch for today.
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Mon, 20 Jan 2025 14:49:12 +1100
> Subject: [PATCH] fixup for "ALSA: FCP: Add Focusrite Control Protocol driver"
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

Sorry for inconvenience. I pushed your fix now.
(I tried to address yesterday, but it wasn't enough, obviously.)

thanks,

Takashi