Re: [PATCH] ALSA: firewire-lib: fix return value on fail in amdtp_tscm_init()

From: Takashi Iwai
Date: Mon Nov 04 2024 - 05:24:40 EST


On Fri, 01 Nov 2024 19:55:13 +0100,
Murad Masimov wrote:
>
> If amdtp_stream_init() fails in amdtp_tscm_init(), the latter returns zero,
> though it's supposed to return error code, which is checked inside
> init_stream() in file tascam-stream.c.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Fixes: 47faeea25ef3 ("ALSA: firewire-tascam: add data block processing layer")
> Signed-off-by: Murad Masimov <m.masimov@xxxxxxxxx>

Applied now. Thanks.


Takashi