diff options
author | Yinghai Lu <[email protected]> | 2012-02-19 14:50:12 -0800 |
---|---|---|
committer | Jesse Barnes <[email protected]> | 2012-02-23 12:05:59 -0800 |
commit | 2dd8ba921d570fcd016f8038c63fa9668892d16b (patch) | |
tree | f2ff01098ed51ee0b6682f91c1b9bf628c84f848 /tools/perf/scripts/python/syscall-counts.py | |
parent | 9ad52e63db1bc588636bc66b9133498c46e6535c (diff) |
PCI: Fix device class print out
Found debug print of class is shifted.
| pci 0000:f8:15.2: [8086:2b56] type 0 class 0x000600
Code is trying to print class with 6 digits, but use shifted class with
4 digits valid value as variable.
Change to original dev->class directly.
Also remove not needed calculating of local variable class, because it
will be updated after pci_fixup_device(pci_fixup_early...)
Also unify type print out when class and header is not matched.
Signed-off-by: Yinghai Lu <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions