drivers/net/can: Update WARN uses
authorJoe Perches <joe@perches.com>
Sat, 30 Oct 2010 11:08:33 +0000 (11:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Nov 2010 17:22:30 +0000 (09:22 -0800)
Add missing newlines.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/mscan/mscan.c

index 64c378cd0c34125471f6cb3fcae10482ae1e0656..74cd880c7e0676c2387f300a9a79b0b3f3e63ae0 100644 (file)
@@ -182,7 +182,7 @@ static int mscan_restart(struct net_device *dev)
 
                priv->can.state = CAN_STATE_ERROR_ACTIVE;
                WARN(!(in_8(&regs->canmisc) & MSCAN_BOHOLD),
-                    "bus-off state expected");
+                    "bus-off state expected\n");
                out_8(&regs->canmisc, MSCAN_BOHOLD);
                /* Re-enable receive interrupts. */
                out_8(&regs->canrier, MSCAN_RX_INTS_ENABLE);