[U-Boot] [PATCH] usb: ehci-hcd: Fix crash when no ops are provided to ehci_register()

Bernhard Nortmann bernhard.nortmann at web.de
Sun Apr 3 13:45:35 CEST 2016


 >This commit fixes crash on BananaPi (and possibly others)
 >casued by 3f9f8a5b83f8aec40c9f4ee496046a695e333c45.
 >
 >Crash reason:
 >When no ops were passed to ehci_register(), USB host driver caused
 >NULL pointer dereference.
 >
 >Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski at gmail.com>
 >---

Confirmed working for Banana Pi, both on top of 3f9f8a5 and when applied 
to current master (563d8d9).

Tested-by: Bernhard Nortmann <bernhard.nortmann at web.de>

Regards, B. Nortmann


More information about the U-Boot mailing list