[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.1903191148210.19912@cbobk.fhfr.pm>
Date: Tue, 19 Mar 2019 11:48:51 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: Kangjie Lu <kjlu@....edu>
cc: pakki001@....edu,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] hid: logitech: check the return value of
create_singlethread_workqueue
On Thu, 14 Mar 2019, Kangjie Lu wrote:
> create_singlethread_workqueue may fail and return NULL. The fix
> checks if it is NULL to avoid NULL pointer dereference.
> Also, the fix moves the call of create_singlethread_workqueue
> earlier to avoid resource-release issues.
>
> --
> V3: do not introduce memory leaks.
>
> Signed-off-by: Kangjie Lu <kjlu@....edu>
The signoff has to be in the commit log, not in the "notes" area. I've
fixed that and applied.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists