aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorDario Binacchi <[email protected]>2024-11-22 23:15:43 +0100
committerMarc Kleine-Budde <[email protected]>2024-11-26 10:49:30 +0100
commitee6bf3677ae03569d833795064e17f605c2163c7 (patch)
tree71156d303a6a8776f5d296e808c788fe12ca5e77 /drivers/fpga/fpga-mgr.c
parent9e66242504f49e17481d8e197730faba7d99c934 (diff)
can: sun4i_can: sun4i_can_err(): call can_change_state() even if cf is NULL
Call the function can_change_state() if the allocation of the skb fails, as it handles the cf parameter when it is null. Additionally, this ensures that the statistics related to state error counters (i. e. warning, passive, and bus-off) are updated. Fixes: 0738eff14d81 ("can: Allwinner A10/A20 CAN Controller support - Kernel module") 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