[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 01 Jan 2019 09:53:52 +0100
From: Takashi Iwai <tiwai@...e.de>
To: "Kangjie Lu" <kjlu@....edu>
Cc: <alsa-devel@...a-project.org>, "Jaroslav Kysela" <perex@...ex.cz>,
<pakki001@....edu>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gus: add a check of the status of snd_ctl_add
On Wed, 26 Dec 2018 02:40:51 +0100,
Kangjie Lu wrote:
>
> snd_ctl_add() could fail, so let's check its status and issue an error
> message if it indeed fails.
>
> Signed-off-by: Kangjie Lu <kjlu@....edu>
The function itself prints the error in most of useful cases, so the
extra error here would be superfluous.
thanks,
Takashi
Powered by blists - more mailing lists