diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2021-05-20 16:04:09 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-05-22 09:44:05 +0300 |
commit | 344f0f821a7ee77832f04451e616f313b7d93f1a (patch) | |
tree | 337d9fcd2cbc3b2ce82d4995bf4a56117aef75dd /sound/firewire/amdtp-stream.h | |
parent | be22db77dc50be6d9cf2b20ab689706c9031c054 (diff) | |
download | linux-344f0f821a7ee77832f04451e616f313b7d93f1a.tar.xz |
ALSA: firewire-lib: Fix uninitialized variable err issue
The check of error is just done for the case that CIP header is available.
This commit moves auto variable into the branch to process CIP header.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: c09010eeb373 ("ALSA: firewire-lib: handle the case that empty isochronous packet payload for CIP")
Suggested-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210520130409.GA170303@workstation
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/amdtp-stream.h')
0 files changed, 0 insertions, 0 deletions