[PATCH] ALSA: firewire-lib: fix error codes for allocation failure

Takashi Iwai tiwai at suse.de
Sun Jun 6 10:05:09 CEST 2021


On Sat, 05 Jun 2021 14:46:39 +0200,
Dan Carpenter wrote:
> 
> Return -ENOMEM if kcalloc() fails.  Currently the code returns success.
> 
> Fixes: f9e5ecdfc2c2 ("ALSA: firewire-lib: add replay target to cache sequence of packet")
> Fixes: 6f24bb8a157c ("ALSA: firewire-lib: pool sequence of packet in IT context independently")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list