[PATCH] ALSA: firewire-motu: fix unreleased lock warning in hwdep device

Takashi Iwai tiwai at suse.de
Tue Jan 31 09:34:51 CET 2023


On Mon, 30 Jan 2023 15:15:40 +0100,
Takashi Sakamoto wrote:
> 
> Smatch static analysis tool detects that acquired lock is not released
> in hwdep device when condition branch is passed due to no event. It is
> unlikely to occur, while fulfilling is preferable for better coding.
> 
> Reported-by: Dan Carpenter <error27 at gmail.com>
> Fixes: 634ec0b2906e ("ALSA: firewire-motu: notify event for parameter change in register DSP model")
> Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>

Applied now.  Thanks.


Takashi


More information about the Alsa-devel mailing list