diff options
author | 2006-10-05 17:03:24 -0400 | |
---|---|---|
committer | 2006-10-18 12:49:55 -0700 | |
commit | f70fa6296c2ec8f541f0a9b406ccc2d9d127d639 (patch) | |
tree | f9fd9bbb13a62683c6b41612cfb34fa3894f8676 /arch/um/drivers/net_user.c | |
parent | Driver core: Don't leak 'old_class_name' in drivers/base/core.c::device_rename() (diff) | |
download | linux-dev-f70fa6296c2ec8f541f0a9b406ccc2d9d127d639.tar.xz linux-dev-f70fa6296c2ec8f541f0a9b406ccc2d9d127d639.zip |
Driver core: Don't ignore error returns from probing
This patch (as797) fixes device_add() in the driver core. It needs to
pay attention when the driver for a new device reports an error.
At the same time, since bus_remove_device() undoes the effects of both
bus_add_device() and bus_attach_device(), it needs to check whether
the bus_attach_device step failed.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/um/drivers/net_user.c')
0 files changed, 0 insertions, 0 deletions