[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180313202623.GH2943022@devbig577.frc2.facebook.com>
Date: Tue, 13 Mar 2018 13:26:23 -0700
From: Tejun Heo <tj@...nel.org>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: jiangshanlai@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] workqueue: use put_device() instead of kfree()
On Tue, Mar 06, 2018 at 03:35:43PM +0530, Arvind Yadav wrote:
> Never directly free @dev after calling device_register(), even
> if it returned an error! Always use put_device() to give up the
> reference initialized in this function instead.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>
Applied to wq/for-4.16-fixes.
Thanks.
--
tejun
Powered by blists - more mailing lists