diff options
author | Dario Binacchi <dario.binacchi@amarulasolutions.com> | 2024-10-14 16:53:13 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2024-11-04 20:01:06 +0300 |
commit | 4d6d26537940f3b3e17138987ed9e4a334780bf7 (patch) | |
tree | 05d86cd05d063c11cb3e56258f1ea060cf0cc15d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e4de81f9e134c78ff7c75a00e43bd819643530d0 (diff) | |
download | linux-4d6d26537940f3b3e17138987ed9e4a334780bf7.tar.xz |
can: c_can: fix {rx,tx}_errors statistics
The c_can_handle_bus_err() function was incorrectly incrementing only the
receive error counter, even in cases of bit or acknowledgment errors that
occur during transmission. The patch fixes the issue by incrementing the
appropriate counter based on the type of error.
Fixes: 881ff67ad450 ("can: c_can: Added support for Bosch C_CAN controller")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://patch.msgid.link/20241014135319.2009782-1-dario.binacchi@amarulasolutions.com
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