[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180430.161000.699679324055043425.davem@davemloft.net>
Date: Mon, 30 Apr 2018 16:10:00 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: arvind.yadav.cs@...il.com
Cc: shannon.nelson@...cle.com, jag.raman@...cle.com,
liam.merwick@...cle.com, linux-kernel@...r.kernel.org,
sparclinux@...r.kernel.org
Subject: Re: [PATCH] sparc: vio: use put_device() instead of kfree()
From: Arvind Yadav <arvind.yadav.cs@...il.com>
Date: Wed, 25 Apr 2018 20:26:14 +0530
> Never directly free @dev after calling device_register(), even
> if it returned an error. Always use put_device() to give up the
> reference initialized.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists