Matt Evans 7ed603ecf8 xhci: Add an assertion to check for virt_dev=0 bug.
During a "plug-unplug" stress test on an NEC xHCI card, a null pointer
dereference was observed.  xhci_address_device() dereferenced a null
virt_dev (possibly an erroneous udev->slot_id?); this patch adds a WARN_ON &
message to aid debug if it can be recreated.

Signed-off-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2011-05-02 16:42:50 -07:00
..
2011-03-31 11:26:23 -03:00
2011-04-19 05:50:38 -07:00
2011-04-13 16:50:52 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-13 18:07:11 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-13 18:07:11 -07:00
2011-03-07 12:15:21 -08:00
2010-11-01 17:01:27 -04:00
2010-08-10 14:35:44 -07:00
2011-03-31 11:26:23 -03:00
2011-03-13 18:07:11 -07:00
2011-04-13 16:36:06 -07:00
2011-05-02 16:42:49 -07:00
2011-05-02 16:42:49 -07:00
2011-05-02 16:42:49 -07:00
2011-05-02 16:42:49 -07:00