[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180313164856.C170F600C1@smtp.codeaurora.org>
Date: Tue, 13 Mar 2018 16:48:56 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: m@...s.ch, linux-kernel@...r.kernel.org,
linux-wireless@...r.kernel.org
Subject: Re: [v3] ssb: use put_device() if device_register fail
Arvind Yadav <arvind.yadav.cs@...il.com> 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.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>
Patch applied to wireless-drivers-next.git, thanks.
a24853aab591 ssb: use put_device() if device_register fail
--
https://patchwork.kernel.org/patch/10266711/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists