diff options
author | Jeroen Hofstee <jhofstee@victronenergy.com> | 2020-11-27 10:59:38 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-11-30 12:43:54 +0100 |
commit | bd0ccb92efb09c7da5b55162b283b42a93539ed7 (patch) | |
tree | efa3b7e87794fb19de93539f69b20f12bef96d8a /scripts/checkstack.pl | |
parent | can: m_can: tcan4x5x_can_probe(): fix error path: remove erroneous clk_disabl... (diff) | |
download | linux-bd0ccb92efb09c7da5b55162b283b42a93539ed7.tar.xz linux-bd0ccb92efb09c7da5b55162b283b42a93539ed7.zip |
can: sja1000: sja1000_err(): don't count arbitration lose as an error
Losing arbitration is normal in a CAN-bus network, it means that a higher
priority frame is being send and the pending message will be retried later.
Hence most driver only increment arbitration_lost, but the sja1000 driver also
incremeants tx_error, causing errors to be reported on a normal functioning
CAN-bus. So stop counting them as errors.
Fixes: 8935f57e68c4 ("can: sja1000: fix network statistics update")
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Link: https://lore.kernel.org/r/20201127095941.21609-1-jhofstee@victronenergy.com
[mkl: split into two seperate patches]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions