android_kernel_xiaomi_sm8350/drivers/usb/host
David Brownell b972b68c39 [PATCH] USB: ehci: fix bogus alteration of a local variable
In a rare and all-but-unused path, the EHCI driver could reuse a variable
in a way that'd make trouble.  Specifically, if the first root hub port
gets an overcurrent event (rare) during a remote wakeup scenario (all but
unused in today's Linux, except for folk working with suspend-to-RAM and
similar sleep states), that would look like a fatal error which would shut
down the controller.  Fix by not reusing that variable.

Spotted by Per Hallsmark <saxofon@musiker.nu>
Fixes http://bugzilla.kernel.org/show_bug.cgi?id=6661

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-07-12 16:03:23 -07:00
..
ehci-au1xxx.c [PATCH] USB: au1200: EHCI and OHCI fixes 2006-07-12 16:03:20 -07:00
ehci-dbg.c
ehci-fsl.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ehci-fsl.h [PATCH] USB: EHCI for Freescale 83xx 2006-03-20 14:49:55 -08:00
ehci-hcd.c [PATCH] USB: ehci: fix bogus alteration of a local variable 2006-07-12 16:03:23 -07:00
ehci-hub.c [PATCH] USB: EHCI and NF2 quirk 2006-03-20 14:49:55 -08:00
ehci-mem.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
ehci-pci.c [PATCH] USB: allow multiple types of EHCI controllers to be built as modules 2006-06-21 15:04:09 -07:00
ehci-q.c [PATCH] USB core and HCDs: don't put_device while atomic 2006-03-20 14:49:58 -08:00
ehci-sched.c [PATCH] improved TT scheduling for EHCI 2006-06-21 15:04:13 -07:00
ehci.h [PATCH] USB: EHCI and Freescale 83xx quirk 2006-03-20 14:49:55 -08:00
hc_crisv10.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
hc_crisv10.h
isp116x-hcd.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
isp116x.h
Kconfig [PATCH] clean up default value of USB_ISP116X_HCD, USB_SL811_HCD and USB_SL811_CS 2006-06-23 07:43:04 -07:00
Makefile
ohci-at91.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ohci-au1xxx.c [PATCH] USB: au1200: EHCI and OHCI fixes 2006-07-12 16:03:20 -07:00
ohci-dbg.c
ohci-ep93xx.c [PATCH] USB: ohci bits for the cirrus ep93xx 2006-07-12 16:03:20 -07:00
ohci-hcd.c [PATCH] USB: ohci bits for the cirrus ep93xx 2006-07-12 16:03:20 -07:00
ohci-hub.c [PATCH] USB: OHCI hub code unaligned access 2006-07-12 16:03:21 -07:00
ohci-lh7a404.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ohci-mem.c
ohci-omap.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ohci-pci.c [PATCH] USB: Use new PCI_CLASS_SERIAL_USB_* defines 2006-04-27 10:28:59 -07:00
ohci-ppc-soc.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ohci-pxa27x.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ohci-q.c
ohci-s3c2410.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ohci-sa1111.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ohci.h
pci-quirks.c [PATCH] USB: Kill compiler warning in quirk_usb_handoff_ohci 2006-07-12 16:03:22 -07:00
pci-quirks.h [PATCH] USB: pci-quirks.c: proper prototypes 2006-04-14 11:12:20 -07:00
sl811_cs.c [PATCH] USB: move hardware-specific <linux/usb_*.h> to <linux/usb/*.h> 2006-06-21 15:04:18 -07:00
sl811-hcd.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sl811.h
uhci-debug.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
uhci-hcd.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
uhci-hcd.h [PATCH] UHCI: Improve FSBR-off timing 2006-06-21 15:04:16 -07:00
uhci-hub.c [PATCH] UHCI: remove hc_inaccessible flag 2006-06-21 15:04:16 -07:00
uhci-q.c [PATCH] UHCI: Improve FSBR-off timing 2006-06-21 15:04:16 -07:00