summaryrefslogtreecommitdiff
path: root/include/linux/can
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2023-10-05 21:34:37 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2023-10-05 21:34:37 +0200
commit2f0382a7590ed65ef6a4336aace0f30814e24dc1 (patch)
tree5569cd7fa8f9cbce1ae030fd35508c46f60c1e1a /include/linux/can
parent3b9333493b5fa69f2dce8eb96bbef32df1b65c4a (diff)
parent6411959c10fe917288cbb1038886999148560057 (diff)
Merge patch series "can: dev: fix can_restart() and replace BUG_ON() by error handling"
Marc Kleine-Budde <mkl@pengutronix.de> says: There are 2 BUG_ON() in the CAN dev helpers. During the update/test of the at91_can driver to rx-offload the one in can_restart() was triggered, due to a race condition in can_restart() and a hardware limitation of the at91_can IP core. This series fixes the race condition, replaces BUG_ON() with an error message, and does some cleanup. Finally, the BUG_ON() in can_put_echo_skb() is also replaced with error handling. Changes in v2: - 4/5: move "Restarted" debug message and stats after successful restart (Thanks Vincent) - Link to v1: https://lore.kernel.org/all/20231004-can-dev-fix-can-restart-v1-0-2e52899eaaf5@pengutronix.de Link: https://lore.kernel.org/all/20231005-can-dev-fix-can-restart-v2-0-91b5c1fd922c@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/linux/can')
0 files changed, 0 insertions, 0 deletions