]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
can: j1939: use correct function name in comment
authorZhang Changzhong <zhangchangzhong@huawei.com>
Thu, 29 Aug 2024 12:48:23 +0000 (20:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:28:53 +0000 (16:28 +0200)
[ 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: 9d71dd0c7009 ("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>
net/can/j1939/transport.c

index 4be73de5033cb77a237095164f32709d74e77a6a..319f47df33300cb2a96e646bccbc700e89dd384e 100644 (file)
@@ -1179,10 +1179,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: