kernel_optimize_test/drivers/usb/host/whci
Dan Carpenter 3821bf4abb USB: whci-hcd: fix NULL dereference on allocation failure
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>
2012-08-15 15:17:39 -07:00
..
asl.c
debug.c usb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed 2011-10-31 19:31:25 -04:00
hcd.c USB: whci-hcd: fix NULL dereference on allocation failure 2012-08-15 15:17:39 -07:00
hw.c
init.c
int.c
Kbuild
pzl.c
qset.c USB: whci-hcd: Fix potential memory leak in qset_add_urb_sg() 2012-08-10 12:06:39 -07:00
whcd.h
whci-hc.h
wusb.c