diff options
author | Murad Masimov <m.masimov@maxima.ru> | 2024-11-01 21:55:13 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-11-04 11:25:16 +0100 |
commit | 8abbf1f01d6a2ef9f911f793e30f7382154b5a3a (patch) | |
tree | ce3a6ce3750f6afa1b98f130312a7dbf56c715b1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c2d188e137e77294323132a760a4608321a36a70 (diff) | |
download | linux-stable-8abbf1f01d6a2ef9f911f793e30f7382154b5a3a.tar.gz linux-stable-8abbf1f01d6a2ef9f911f793e30f7382154b5a3a.tar.bz2 linux-stable-8abbf1f01d6a2ef9f911f793e30f7382154b5a3a.zip |
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 <m.masimov@maxima.ru>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20241101185517.1819-1-m.masimov@maxima.ru
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions