diff options
author | Murad Masimov <[email protected]> | 2024-11-01 21:55:13 +0300 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2024-11-04 11:25:16 +0100 |
commit | 8abbf1f01d6a2ef9f911f793e30f7382154b5a3a (patch) | |
tree | ce3a6ce3750f6afa1b98f130312a7dbf56c715b1 /lib/crypto/mpi/mpiutil.c | |
parent | c2d188e137e77294323132a760a4608321a36a70 (diff) |
ALSA: firewire-lib: fix return value on fail in amdtp_tscm_init()
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 <[email protected]>
Reviewed-by: Takashi Sakamoto <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions