diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2006-03-31 18:52:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-04-14 20:41:24 +0200 |
commit | 0f836ca4c122f4ef096110d652a6326fe34e6961 (patch) | |
tree | 5b249f2f255a7260d1a8926eb0a9e6d7e45ac524 /fs/partitions | |
parent | [PATCH] sysfs: Allow sysfs attribute files to be pollable (diff) | |
download | linux-0f836ca4c122f4ef096110d652a6326fe34e6961.tar.xz linux-0f836ca4c122f4ef096110d652a6326fe34e6961.zip |
[PATCH] driver core: safely unbind drivers for devices not on a bus
This patch (as667) changes the __device_release_driver() routine to
prevent it from crashing when it runs across a device not on any bus.
This seems logical, inasmuch as the corresponding bus_add_device()
routine has an explicit check allowing it to accept such devices.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/partitions')
0 files changed, 0 insertions, 0 deletions