summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/storage_common.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2011-04-15 20:37:06 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-29 17:24:36 -0700
commit865835fa441fcabc65251f14280df3055fe82d0f (patch)
tree0460ece61ef14804a0eb67a04425023ef3e2c54c /drivers/usb/gadget/storage_common.c
parent1d15ee4cd7c9ddacfb4b517131b257d8c0d74d42 (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 'drivers/usb/gadget/storage_common.c')
0 files changed, 0 insertions, 0 deletions