diff options
| author | Matt Evans <matt@ozlabs.org> | 2011-03-29 06:40:56 +0400 |
|---|---|---|
| committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-05-03 03:42:50 +0400 |
| commit | 7ed603ecf8b68ab81f4c83097d3063d43ec73bb8 (patch) | |
| tree | 3eed33c09dda5e98e79692e69a1270d48a6f8299 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 92a3da410aac6e14daaefe13c60368ca28e85830 (diff) | |
| download | linux-7ed603ecf8b68ab81f4c83097d3063d43ec73bb8.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
