git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
373c0ea
)
IB/core: Fix port kobject deletion during error flow
author
Haggai Eran
<haggaie@mellanox.com>
Sun, 18 May 2014 08:12:25 +0000
(11:12 +0300)
committer
Roland Dreier
<roland@purestorage.com>
Wed, 4 Jun 2014 17:03:49 +0000
(10:03 -0700)
When encountering an error during the add_port function, adding a port
to sysfs, the port kobject is freed without being deleted from sysfs.
Instead of freeing it directly, the patch uses kobject_put to release
the kobject and delete it.
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/sysfs.c
patch
|
blob
|
history
diff --cc
drivers/infiniband/core/sysfs.c
Simple merge