aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorDario Binacchi <[email protected]>2024-11-22 23:15:48 +0100
committerMarc Kleine-Budde <[email protected]>2024-11-26 10:50:40 +0100
commitbb03d568bb21b4afe7935d1943bcf68ddea3ea45 (patch)
tree6785d73091bfafe8e8b6cac3ffdacc4f009d4d01 /drivers/fpga/fpga-mgr.c
parent988d4222bf9039a875a3d48f2fe35c317831ff68 (diff)
can: ifi_canfd: ifi_canfd_handle_lec_err(): fix {rx,tx}_errors statistics
The ifi_canfd_handle_lec_err() function was incorrectly incrementing only the receive error counter, even in cases of bit or acknowledgment errors that occur during transmission. Fix the issue by incrementing the appropriate counter based on the type of error. Fixes: 5bbd655a8bd0 ("can: ifi: Add more detailed error reporting") Signed-off-by: Dario Binacchi <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions