mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
can: j1939: use correct function name in comment
[ Upstream commit dc2ddcd136fe9b6196a7dd01f75f824beb02d43f ]
The function j1939_cancel_all_active_sessions() was renamed to
j1939_cancel_active_session() but name in comment wasn't updated.
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Fixes: 9d71dd0c70 ("can: add support of SAE J1939 protocol")
Link: https://patch.msgid.link/1724935703-44621-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
854b4f1e1b
commit
24d3465bcf
@@ -1179,10 +1179,10 @@ static enum hrtimer_restart j1939_tp_txtimer(struct hrtimer *hrtimer)
|
|||||||
break;
|
break;
|
||||||
case -ENETDOWN:
|
case -ENETDOWN:
|
||||||
/* In this case we should get a netdev_event(), all active
|
/* In this case we should get a netdev_event(), all active
|
||||||
* sessions will be cleared by
|
* sessions will be cleared by j1939_cancel_active_session().
|
||||||
* j1939_cancel_all_active_sessions(). So handle this as an
|
* So handle this as an error, but let
|
||||||
* error, but let j1939_cancel_all_active_sessions() do the
|
* j1939_cancel_active_session() do the cleanup including
|
||||||
* cleanup including propagation of the error to user space.
|
* propagation of the error to user space.
|
||||||
*/
|
*/
|
||||||
break;
|
break;
|
||||||
case -EOVERFLOW:
|
case -EOVERFLOW:
|
||||||
|
|||||||
Reference in New Issue
Block a user