]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ehci potential oops fix on ARC/TDI cores
authorDavid Brownell <david-b@pacbell.net>
Wed, 19 Dec 2007 19:30:39 +0000 (11:30 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:58 +0000 (14:34 -0800)
commite18d38bd3a4d0f541e090c0a17f61a1dd2203f14
treea1096c2439d4420e0fd2156396ff4b7fd77494da
parent8957e9d90f83bf28d5f7ae0f9ca9ef46eb3fadfa
USB: ehci potential oops fix on ARC/TDI cores

Kernel bugzilla entry #9569 reports a potential OOPS in some code
supporting the integrated root hub TT support used on ARC/TDI
derived cores.  (This seems to have been a longstanding issue.)

This patch cleans up usage of urb->dev->tt to avoid that potential
oops and also fixes some overly long lines.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-q.c