Skip to content

Commit f8145cf

Browse files
can: j1939: j1939_session_tx_dat(): fix typo
This patch fixes a typo in the j1939_session_tx_dat() function. Link: https://lore.kernel.org/r/20210729113917.1655492-1-mkl@pengutronix.de Fixes: 9d71dd0 ("can: add support of SAE J1939 protocol") Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent 7cdd0a8 commit f8145cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/can/j1939/transport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ static int j1939_session_tx_dat(struct j1939_session *session)
822822
memcpy(&dat[1], &tpdat[offset], len);
823823
ret = j1939_tp_tx_dat(session, dat, len + 1);
824824
if (ret < 0) {
825-
/* ENOBUS == CAN interface TX queue is full */
825+
/* ENOBUFS == CAN interface TX queue is full */
826826
if (ret != -ENOBUFS)
827827
netdev_alert(priv->ndev,
828828
"%s: 0x%p: queue data error: %i\n",

0 commit comments

Comments
 (0)