[lvc-project] [PATCH] ALSA: firewire-lib: fix return value on	fail in amdtp_tscm_init()
    Takashi Iwai 
    tiwai at suse.de
       
    Mon Nov  4 13:25:34 MSK 2024
    
    
  
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 at maxima.ru>
Applied now.  Thanks.
Takashi
    
    
More information about the lvc-project
mailing list