diff options
author | Jason Gunthorpe | 2015-08-04 23:23:34 +0200 |
---|---|---|
committer | Doug Ledford | 2015-08-31 00:08:50 +0200 |
commit | 55aeed06544f675f25aef06a8c47b0b6b8850f4f (patch) | |
tree | b44faef6b5eff332fb0317a6802de01c98b92742 /drivers/input/mouse/cyapa.c | |
parent | net/bonding: Export bond_option_active_slave_get_rcu (diff) | |
download | kernel-qcow2-linux-55aeed06544f675f25aef06a8c47b0b6b8850f4f.tar.gz kernel-qcow2-linux-55aeed06544f675f25aef06a8c47b0b6b8850f4f.tar.xz kernel-qcow2-linux-55aeed06544f675f25aef06a8c47b0b6b8850f4f.zip |
IB/core: Make ib_alloc_device init the kobject
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>
Diffstat (limited to 'drivers/input/mouse/cyapa.c')
0 files changed, 0 insertions, 0 deletions