linux_dsm_epyc7002/drivers/usb/host/whci
Colin Ian King 328fafb94f usb: hcd: do not call whc_clean_up on wch_init call failure
whc_init already calls whc_clean_up if an error occurs during
the initialization, so calling it again if whc_init fails at
the end of wch_probe will cause double free errors.  Fix this
by bailing out on an whc_init failure to a new label that avoids
doing the duplicated whc_clean_up.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-26 16:11:22 -07:00
..
asl.c
debug.c usb: use %*pb[l] to print bitmaps including cpumasks and nodemasks 2015-02-13 21:21:38 -08:00
hcd.c usb: hcd: do not call whc_clean_up on wch_init call failure 2016-04-26 16:11:22 -07:00
hw.c
init.c whci: drop null test before destroy functions 2015-10-04 10:38:33 +01:00
int.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
Kbuild
pzl.c
qset.c USB: whci-hcd: add more checks for dma mapping error 2016-04-19 04:33:15 +09:00
whcd.h
whci-hc.h
wusb.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00