diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2022-09-30 14:52:08 +0800 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-10-19 21:33:30 +0200 |
commit | de1deb156970bade8b877124c4142edac1696ee6 (patch) | |
tree | cff3fd7d07d8b4a343e5253b1cfbd13bfb2c1985 /net/can | |
parent | 85700ac19aa19c5ff7267dc406c9bccb7a60b0e3 (diff) | |
download | linux-stable-de1deb156970bade8b877124c4142edac1696ee6.tar.gz linux-stable-de1deb156970bade8b877124c4142edac1696ee6.tar.bz2 linux-stable-de1deb156970bade8b877124c4142edac1696ee6.zip |
can: j1939: j1939_session_tx_eoma(): fix debug info
Use "%s" instead of "%p" to print function name in debug info.
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/all/1664520728-4644-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can')
-rw-r--r-- | net/can/j1939/transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/can/j1939/transport.c b/net/can/j1939/transport.c index d7d86c944d76..6ec48a41988c 100644 --- a/net/can/j1939/transport.c +++ b/net/can/j1939/transport.c @@ -985,7 +985,7 @@ static int j1939_session_tx_eoma(struct j1939_session *session) /* wait for the EOMA packet to come in */ j1939_tp_set_rxtimeout(session, 1250); - netdev_dbg(session->priv->ndev, "%p: 0x%p\n", __func__, session); + netdev_dbg(session->priv->ndev, "%s: 0x%p\n", __func__, session); return 0; } |