diff options
| author | 2011-04-15 20:37:06 +0200 | |
|---|---|---|
| committer | 2011-04-29 17:24:36 -0700 | |
| commit | 865835fa441fcabc65251f14280df3055fe82d0f (patch) | |
| tree | 0460ece61ef14804a0eb67a04425023ef3e2c54c /tools/lib/python/kdoc | |
| parent | usb/hcd: don't return 0 on error in usb_add_hcd() (diff) | |
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 <bigeasy@linutronix.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
