mirror of https://gitee.com/openkylin/linux.git
drivers/net/usb: 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
c389ff80d4
commit
9c413ed55d
|
@ -363,7 +363,7 @@ static int ipheth_tx(struct sk_buff *skb, struct net_device *net)
|
|||
|
||||
/* Paranoid */
|
||||
if (skb->len > IPHETH_BUF_SIZE) {
|
||||
WARN(1, "%s: skb too large: %d bytes", __func__, skb->len);
|
||||
WARN(1, "%s: skb too large: %d bytes\n", __func__, skb->len);
|
||||
dev->net->stats.tx_dropped++;
|
||||
dev_kfree_skb_irq(skb);
|
||||
return NETDEV_TX_OK;
|
||||
|
|
Loading…
Reference in New Issue