summaryrefslogtreecommitdiff
path: root/arch/mn10300
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2008-04-22 20:57:50 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-23 00:40:36 (GMT)
commit29591b92e19f409d5ad4c099c2b7b5ea56f50dfa (patch)
tree0e3625c691318934f97f384d0cac862b13b29719 /arch/mn10300
parent08119e8966e993993d0ba92b2fba38c582c8f787 (diff)
downloadlinux-fsl-qoriq-29591b92e19f409d5ad4c099c2b7b5ea56f50dfa.tar.xz
bus_remove_device: be more careful about incomplete initialization
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>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions