mirror of https://gitee.com/openkylin/linux.git
net/core/dev.c: Update WARN uses
Coalesce long formats. 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
9c413ed55d
commit
b194a3674f
|
@ -1817,8 +1817,7 @@ struct sk_buff *skb_gso_segment(struct sk_buff *skb, int features)
|
|||
if (dev && dev->ethtool_ops && dev->ethtool_ops->get_drvinfo)
|
||||
dev->ethtool_ops->get_drvinfo(dev, &info);
|
||||
|
||||
WARN(1, "%s: caps=(0x%lx, 0x%lx) len=%d data_len=%d "
|
||||
"ip_summed=%d",
|
||||
WARN(1, "%s: caps=(0x%lx, 0x%lx) len=%d data_len=%d ip_summed=%d\n",
|
||||
info.driver, dev ? dev->features : 0L,
|
||||
skb->sk ? skb->sk->sk_route_caps : 0L,
|
||||
skb->len, skb->data_len, skb->ip_summed);
|
||||
|
|
Loading…
Reference in New Issue