]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit340ba5f9cee6c7096162bfb2e0f7589f1ce0e142
treea1096c2439d4420e0fd2156396ff4b7fd77494da
parente96ffe2f9debd5fdc53144259d9e5faa514736b9
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