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>
This commit is contained in:
parent
c63fdf46ad
commit
c389ff80d4
@ -182,7 +182,7 @@ static int mscan_restart(struct net_device *dev)
|
||||
|
||||
priv->can.state = CAN_STATE_ERROR_ACTIVE;
|
||||
WARN(!(in_8(®s->canmisc) & MSCAN_BOHOLD),
|
||||
"bus-off state expected");
|
||||
"bus-off state expected\n");
|
||||
out_8(®s->canmisc, MSCAN_BOHOLD);
|
||||
/* Re-enable receive interrupts. */
|
||||
out_8(®s->canrier, MSCAN_RX_INTS_ENABLE);
|
||||
|
Loading…
Reference in New Issue
Block a user