diff options
author | Dario Binacchi <[email protected]> | 2024-11-22 23:15:42 +0100 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2024-11-26 10:49:21 +0100 |
commit | 9e66242504f49e17481d8e197730faba7d99c934 (patch) | |
tree | c53c356dcae9d9dc53642511b754ac242b08d3dd /drivers/fpga/fpga-mgr.c | |
parent | 889b2ae9139a87b3390f7003cb1bb3d65bf90a26 (diff) |
can: c_can: c_can_handle_bus_err(): update statistics if skb allocation fails
Ensure that the statistics are always updated, even if the skb
allocation fails.
Fixes: 4d6d26537940 ("can: c_can: fix {rx,tx}_errors statistics")
Signed-off-by: Dario Binacchi <[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