OSDN Git Service

xhci: Avoid BUG() in interrupt context
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Sat, 12 Feb 2011 22:06:06 +0000 (14:06 -0800)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Mon, 28 Feb 2011 08:16:51 +0000 (17:16 +0900)
commit2d0b5e260a0c4540f0f468a5fb269bb1b3af242d
tree505643980130f5e71d1740932aa50e0736db4df9
parentce4887a510522ba20de17a111f538a15c1be53c8
xhci: Avoid BUG() in interrupt context

Change the BUGs in xhci_find_new_dequeue_state() to WARN_ONs, to avoid
bringing down the box if one of them is hit

This patch should be queued for stable kernels back to 2.6.31.

Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@kernel.org
drivers/usb/host/xhci-ring.c