![]() If usb_create_hcd() fails here then we dereference "whc" inside the call to whc_clean_up() before it has been set. The compiler would have warned about this if we hadn't initialized all the pointers to NULL at the start of the function. I've cleaned that up as well. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
asl.c | ||
debug.c | ||
hcd.c | ||
hw.c | ||
init.c | ||
int.c | ||
Kbuild | ||
pzl.c | ||
qset.c | ||
whcd.h | ||
whci-hc.h | ||
wusb.c |