aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorStephane Grosjean <[email protected]>2021-06-25 15:09:29 +0200
committerMarc Kleine-Budde <[email protected]>2021-07-24 19:02:32 +0200
commit590eb2b7d8cfafb27e8108d52d4bf4850626d31d (patch)
tree902258d0b616e5a4340a2b48290c1ecf044490a7 /tools/perf/scripts/python/compaction-times.py
parentc6eea1c8bda56737752465a298dc6ce07d6b8ce3 (diff)
can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values
This patch fixes an incorrect way of reading error counters in messages received for this purpose from the PCAN-USB interface. These messages inform about the increase or decrease of the error counters, whose values are placed in bytes 1 and 2 of the message data (not 0 and 1). Fixes: ea8b33bde76c ("can: pcan_usb: add support of rxerr/txerr counters") Link: https://lore.kernel.org/r/[email protected] Cc: linux-stable <[email protected]> Signed-off-by: Stephane Grosjean <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions