diff options
author | Stephane Grosjean <s.grosjean@peak-system.com> | 2021-06-25 15:09:29 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-07-24 19:02:32 +0200 |
commit | 590eb2b7d8cfafb27e8108d52d4bf4850626d31d (patch) | |
tree | 902258d0b616e5a4340a2b48290c1ecf044490a7 /scripts/ksymoops | |
parent | c6eea1c8bda56737752465a298dc6ce07d6b8ce3 (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/20210625130931.27438-4-s.grosjean@peak-system.com
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/ksymoops')
0 files changed, 0 insertions, 0 deletions