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:
08119e8
)
bus_remove_device: be more careful about incomplete initialization
author
Rafael J. Wysocki
<rjw@sisk.pl>
Tue, 22 Apr 2008 20:57:50 +0000
(22:57 +0200)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 23 Apr 2008 00:40:36 +0000
(17:40 -0700)
Prevent bus_remove_device() from crashing if dev->knode_bus has not been
initialized before it's called.
This can happen if the device_add() ended up breaking out early due to
an error, for example.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found