diff options
author | Frank Jungclaus <frank.jungclaus@esd.eu> | 2023-02-16 20:04:48 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-02-16 20:59:47 +0100 |
commit | 118469f88180438ef43dee93d71f77c00e7b425d (patch) | |
tree | 68147ae993c53a731c8b1e12b964f77c6cb91698 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 470ac62dfa5732c149adce2cbce84ac678de701f (diff) |
can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error
Move the supply for cf->data[3] (bit stream position of CAN error), in
case of a bus- or protocol-error, outside of the "switch (ecc &
SJA1000_ECC_MASK){}"-statement, because this bit stream position is
independent of the error type.
Fixes: 96d8e90382dc ("can: Add driver for esd CAN-USB/2 device")
Signed-off-by: Frank Jungclaus <frank.jungclaus@esd.eu>
Link: https://lore.kernel.org/all/20230216190450.3901254-2-frank.jungclaus@esd.eu
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions