Re: [PATCH v3] usb/dummy_hcd: don't probe for udc if hcd failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 15 Apr 2011, Sebastian Andrzej Siewior wrote:

> 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@xxxxxxxxxxxxx>

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux