Skip to content

Commit

Permalink
can: j1939: j1939_session_tx_eoma(): fix debug info
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zhang Changzhong authored and Marc Kleine-Budde committed Oct 19, 2022
1 parent 85700ac commit de1deb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/can/j1939/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit de1deb1

Please sign in to comment.