[alsa-devel] [PATCH] ALSA: emu10k1: add error handling for snd_ctl_add

Takashi Iwai tiwai at suse.de
Mon Jun 11 15:26:14 CEST 2018


On Mon, 11 Jun 2018 10:18:40 +0200,
Zhouyang Jia wrote:
> 
> When snd_ctl_add fails, the lack of error-handling code may
> cause unexpected results.
> 
> This patch adds error-handling code after calling snd_ctl_add.
> 
> Signed-off-by: Zhouyang Jia <jiazhouyang09 at gmail.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list