[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.1806251516350.6203@cbobk.fhfr.pm>
Date: Mon, 25 Jun 2018 15:16:44 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Zhouyang Jia <jiazhouyang09@...il.com>
cc: Benjamin Tissoires <benjamin.tissoires@...hat.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
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@...il.com>
> ---
> v1->v2:
> - Remove goto statement.
Applied, thanks.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists