aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2008-02-18 11:04:25 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-21 18:27:07 -0500
commit0763446429e46fd973f507f79900b95eb8aae2e4 (patch)
tree9b6b0811c94e59e1e90e0f6a636e2e86b8918c01 /crypto
parent7199677d2e919edc75d1fb8856c98cd0c1bbcfc5 (diff)
Driver core: Fix error handling in bus_add_driver().
- If the allocation of ->priv fails, the reference on the bus must be dropped. - If adding the kobject fails, kobject_put must be called to clean things up. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions