[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46755d70-c7b2-f107-7aae-b12d232ce6cd@suse.com>
Date: Tue, 6 Mar 2018 12:01:10 +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>
Reviewed-by: Juergen Gross <jgross@...e.com>
Juergen
Powered by blists - more mailing lists