aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host/hc_crisv10.h
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2006-06-30 02:34:42 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-07-12 16:03:23 -0700
commitb972b68c396cfa9f8af7e0b314e22705251bc218 (patch)
tree5cd84d901fdeb4921593521197eee57ab066e2b9 /drivers/usb/host/hc_crisv10.h
parent69de51fdda3fd984541978313b66e4f2c44cc23e (diff)
[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>
Diffstat (limited to 'drivers/usb/host/hc_crisv10.h')
0 files changed, 0 insertions, 0 deletions