Skip to content

Commit

Permalink
can: j1939: fix checkpatch warnings
Browse files Browse the repository at this point in the history
This patch fixes a checkpatch warning about a long line and wrong
indention.

Cc: Robin van der Gracht <robin@protonic.nl>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20210616102811.2449426-2-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
Marc Kleine-Budde committed Jul 25, 2021
1 parent 04bdec2 commit 3331287
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions net/can/j1939/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,8 @@ static int j1939_session_tx_dat(struct j1939_session *session)
if (offset + len > se_skb->len) {
netdev_err_once(priv->ndev,
"%s: 0x%p: requested data outside of queued buffer: offset %i, len %i, pkt.tx: %i\n",
__func__, session, skcb->offset, se_skb->len , session->pkt.tx);
__func__, session, skcb->offset,
se_skb->len , session->pkt.tx);
ret = -EOVERFLOW;
goto out_free;
}
Expand Down Expand Up @@ -1092,7 +1093,7 @@ j1939_session_deactivate_activate_next(struct j1939_session *session)
}

static void __j1939_session_cancel(struct j1939_session *session,
enum j1939_xtp_abort err)
enum j1939_xtp_abort err)
{
struct j1939_priv *priv = session->priv;

Expand Down

0 comments on commit 3331287

Please sign in to comment.