mbox series

[for-rc,0/2] Pre-req for hfi1 cdev rework

Message ID 20200326163619.21129.13002.stgit@awfm-01.aw.intel.com (mailing list archive)
Headers show
Series Pre-req for hfi1 cdev rework | expand

Message

Dennis Dalessandro March 26, 2020, 4:37 p.m. UTC
Kaike found a couple issues while working on the cdev stuff. Here are two fixes
that should probably precede those patches (which are yet to be posted)

---

Kaike Wan (2):
      IB/hfi1: Fix memory leaks in sysfs registration and unregistration
      IB/hfi1: Call kobject_put() when kobject_init_and_add() fails


 drivers/infiniband/hw/hfi1/sysfs.c |   26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

--
-Denny

Comments

Jason Gunthorpe March 27, 2020, 4:14 p.m. UTC | #1
On Thu, Mar 26, 2020 at 12:37:59PM -0400, Dennis Dalessandro wrote:
> Kaike found a couple issues while working on the cdev stuff. Here are two fixes
> that should probably precede those patches (which are yet to be posted)
> 
> ---
> 
> Kaike Wan (2):
>       IB/hfi1: Fix memory leaks in sysfs registration and unregistration
>       IB/hfi1: Call kobject_put() when kobject_init_and_add() fails

Applied to for-next, for-rc is done now.

Thanks,
Jason