]> err.no Git - linux-2.6/commit
UHCI: Add some WARN_ON()s
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 19 Mar 2007 19:33:11 +0000 (15:33 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:36 +0000 (13:28 -0700)
commit0cef7727c953056bb3ef9852a79d9658a1d8df4e
treeaf1a675e02fc65b9833ea42b1431d5f54ab7ae45
parent325b70c233396f0cfe15012682a5080bf8040901
UHCI: Add some WARN_ON()s

This patch (as872) adds some WARN_ON()s to various error checks which
are never supposed to fail.  Unsettlingly, one of them has shown up in
a user's log!  Maybe making the warning more visible and having the
call-stack information available will help pinpoint the source of the
problem.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-q.c