Commit c389ff80 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

drivers/net/can: Update WARN uses

Add missing newlines.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c63fdf46
...@@ -182,7 +182,7 @@ static int mscan_restart(struct net_device *dev) ...@@ -182,7 +182,7 @@ static int mscan_restart(struct net_device *dev)
priv->can.state = CAN_STATE_ERROR_ACTIVE; priv->can.state = CAN_STATE_ERROR_ACTIVE;
WARN(!(in_8(&regs->canmisc) & MSCAN_BOHOLD), WARN(!(in_8(&regs->canmisc) & MSCAN_BOHOLD),
"bus-off state expected"); "bus-off state expected\n");
out_8(&regs->canmisc, MSCAN_BOHOLD); out_8(&regs->canmisc, MSCAN_BOHOLD);
/* Re-enable receive interrupts. */ /* Re-enable receive interrupts. */
out_8(&regs->canrier, MSCAN_RX_INTS_ENABLE); out_8(&regs->canrier, MSCAN_RX_INTS_ENABLE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment