summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/mscan
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-10-30 13:08:33 +0200
committerDavid S. Miller <davem@davemloft.net>2010-11-09 18:22:30 +0100
commitc389ff80d4b598f57d56aa807d396d4351cac8a4 (patch)
tree288a217289d26c207a49fc033ce44297dbb478af /drivers/net/can/mscan
parentdrivers/net: normalize TX_TIMEOUT (diff)
downloadlinux-c389ff80d4b598f57d56aa807d396d4351cac8a4.tar.xz
linux-c389ff80d4b598f57d56aa807d396d4351cac8a4.zip
drivers/net/can: Update WARN uses
Add missing newlines. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/mscan')
-rw-r--r--drivers/net/can/mscan/mscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c
index 64c378cd0c34..74cd880c7e06 100644
--- a/drivers/net/can/mscan/mscan.c
+++ b/drivers/net/can/mscan/mscan.c
@@ -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);