Messages in this thread | | | Date | Mon, 25 Jun 2018 15:16:44 +0200 (CEST) | From | Jiri Kosina <> | Subject | Re: [PATCH v2] HID: hid-ntrig: add error handling for sysfs_create_group |
| |
On Thu, 14 Jun 2018, Zhouyang Jia wrote:
> When sysfs_create_group fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling sysfs_create_group. > > Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com> > --- > v1->v2: > - Remove goto statement.
Applied, thanks.
-- Jiri Kosina SUSE Labs
| |