Messages in this thread | | | Date | Mon, 30 Apr 2018 16:10:00 -0400 (EDT) | Subject | Re: [PATCH] sparc: vio: use put_device() instead of kfree() | From | David Miller <> |
| |
From: Arvind Yadav <arvind.yadav.cs@gmail.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@gmail.com>
Applied and queued up for -stable, thanks.
| |