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 include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
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 wusb: timeout when waiting for ASL/PZL updates in whci-hcd 2009-01-07 10:54:22 +00:00
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 usb: makefile cleanup 2010-10-22 10:22:07 -07:00
pzl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
qset.c USB: whci-hcd: add more checks for dma mapping error 2016-04-19 04:33:15 +09:00
whcd.h USB: whci-hcd: support urbs with scatter-gather lists 2009-12-11 11:55:14 -08:00
whci-hc.h USB: wusb: add wusb_phy_rate sysfs file to host controllers 2009-12-11 11:55:16 -08:00
wusb.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00