[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1520849284.git.arvind.yadav.cs@gmail.com>
Date: Mon, 12 Mar 2018 17:06:51 +0530
From: Arvind Yadav <arvind.yadav.cs@...il.com>
To: sudeep.dutt@...el.com, ashutosh.dixit@...el.com, arnd@...db.de,
gregkh@...uxfoundation.org, fbarrat@...ux.vnet.ibm.com,
andrew.donnellan@....ibm.com
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH 0/2] misc: use put_device() instead of kfree()
Never directly free @dev after calling device_register(), even
if it returned an error! Always use put_device() to give up the
reference initialized.
Arvind Yadav (2):
[PATCH 1/2] misc: mic: Release reference count and memory for VOP device
[PATCH 2/2] misc: ocxl: use put_device() instead of device_unregister()
drivers/misc/mic/bus/vop_bus.c | 6 ++++--
drivers/misc/ocxl/pci.c | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
--
1.9.1
Powered by blists - more mailing lists