[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bd2e633a-b0cc-c79a-2563-aa541a224184@suse.com>
Date: Thu, 8 Mar 2018 15:31:39 +0100
From: Juergen Gross <jgross@...e.com>
To: Arvind Yadav <arvind.yadav.cs@...il.com>,
boris.ostrovsky@...cle.com
Cc: linux-kernel@...r.kernel.org, xen-devel@...ts.xenproject.org
Subject: Re: [PATCH] xen: xenbus: use put_device() instead of kfree()
On 06/03/18 11:10, 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.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>
Committed to xen/tip.git for-linus-4.16a
Juergen
Powered by blists - more mailing lists