提交 c389ff80 编写于 作者: J Joe Perches 提交者: David S. Miller

drivers/net/can: Update WARN uses

Add missing newlines.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册