mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-02 00:40:59 -05: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 <[email protected]>
Acked-by: Oleksij Rempel <[email protected]>
Fixes: 9d71dd0c70 ("can: add support of SAE J1939 protocol")
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
ac076cb0db
commit
30e197f8bb
1 changed files with 4 additions and 4 deletions
|
|
@ -1171,10 +1171,10 @@ static enum hrtimer_restart j1939_tp_txtimer(struct hrtimer *hrtimer)
|
|||
break;
|
||||
case -ENETDOWN:
|
||||
/* In this case we should get a netdev_event(), all active
|
||||
* sessions will be cleared by
|
||||
* j1939_cancel_all_active_sessions(). So handle this as an
|
||||
* error, but let j1939_cancel_all_active_sessions() do the
|
||||
* cleanup including propagation of the error to user space.
|
||||
* sessions will be cleared by j1939_cancel_active_session().
|
||||
* So handle this as an error, but let
|
||||
* j1939_cancel_active_session() do the cleanup including
|
||||
* propagation of the error to user space.
|
||||
*/
|
||||
break;
|
||||
case -EOVERFLOW:
|
||||
|
|
|
|||
Loading…
Reference in a new issue