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:
e999869
)
IB/core: Make ib_alloc_device init the kobject
author
Jason Gunthorpe
<jgunthorpe@obsidianresearch.com>
Tue, 4 Aug 2015 21:23:34 +0000
(15:23 -0600)
committer
Doug Ledford
<dledford@redhat.com>
Sun, 30 Aug 2015 22:08:50 +0000
(18:08 -0400)
This gets rid of the weird in-between state where struct ib_device
was allocated but the kobject didn't work.
Consequently ib_device_release is now guaranteed to be called in
all situations and we needn't duplicate its kfrees on error paths.
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cache.c
patch
|
blob
|
history
drivers/infiniband/core/core_priv.h
patch
|
blob
|
history
drivers/infiniband/core/device.c
patch
|
blob
|
history
drivers/infiniband/core/sysfs.c
patch
|
blob
|
history
diff --cc
drivers/infiniband/core/cache.c
Simple merge
diff --cc
drivers/infiniband/core/core_priv.h
Simple merge
diff --cc
drivers/infiniband/core/device.c
Simple merge
diff --cc
drivers/infiniband/core/sysfs.c
Simple merge