From: Sebastian Andrzej Siewior Date: Fri, 15 Apr 2011 18:37:06 +0000 (+0200) Subject: usb/dummy_hcd: don't probe for udc if hcd failed X-Git-Tag: v3.0-rc1~337^2~111 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=865835fa441fcabc65251f14280df3055fe82d0f;p=pandora-kernel.git usb/dummy_hcd: don't probe for udc if hcd failed the_controller is allocated in dummy_hcd_probe() and is NULL if the allocation failed. The probe function of the udc driver is dereferencing this pointer and fault. Alan Stern suggested to abort the dummy_hcd driver probing so the module is not loaded. The is abort-on-error has been also added to the udc driver. Signed-off-by: Sebastian Andrzej Siewior Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed