From: Alan Stern Date: Fri, 31 Mar 2006 16:52:25 +0000 (-0500) Subject: [PATCH] driver core: safely unbind drivers for devices not on a bus X-Git-Tag: v2.6.17-rc2~33^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f836ca4c122f4ef096110d652a6326fe34e6961;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed