Messages in this thread | | | Date | Tue, 01 Jan 2019 09:53:52 +0100 | From | Takashi Iwai <> | 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@umn.edu>
The function itself prints the error in most of useful cases, so the extra error here would be superfluous.
thanks,
Takashi
| |