[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hd0wt2w9i.wl-tiwai@suse.de>
Date: Thu, 14 Jun 2018 18:00:41 +0200
From: Takashi Iwai <tiwai@...e.de>
To: "Zhouyang Jia" <jiazhouyang09@...il.com>
Cc: <alsa-devel@...a-project.org>,
"Bhumika Goyal" <bhumirks@...il.com>,
"Jaroslav Kysela" <perex@...ex.cz>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3] ALSA: sonicvibes: add error handling for snd_ctl_add
On Thu, 14 Jun 2018 13:41:37 +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@...il.com>
> ---
> v1->v2:
> - Check the return value of snd_sonicvibes_create_gameport.
> v2->v3:
> - Fix the code style.
Applied, thanks.
Takashi
Powered by blists - more mailing lists