Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

+1 -1
+1 -1
net/can/j1939/transport.c
··· 822 822 memcpy(&dat[1], &tpdat[offset], len); 823 823 ret = j1939_tp_tx_dat(session, dat, len + 1); 824 824 if (ret < 0) { 825 - /* ENOBUS == CAN interface TX queue is full */ 825 + /* ENOBUFS == CAN interface TX queue is full */ 826 826 if (ret != -ENOBUFS) 827 827 netdev_alert(priv->ndev, 828 828 "%s: 0x%p: queue data error: %i\n",