fcoe: Add missing newlines in debug messages
FCoE debug statements must end in a newline. Add one where it is missing. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Cc: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Robert Love <robert.w.love@intel.com>
This commit is contained in:

gecommit door
Robert Love

bovenliggende
41463a8851
commit
465b87bfe9
@@ -1440,14 +1440,14 @@ static int fcoe_rcv(struct sk_buff *skb, struct net_device *netdev,
|
||||
ctlr = fcoe_to_ctlr(fcoe);
|
||||
lport = ctlr->lp;
|
||||
if (unlikely(!lport)) {
|
||||
FCOE_NETDEV_DBG(netdev, "Cannot find hba structure");
|
||||
FCOE_NETDEV_DBG(netdev, "Cannot find hba structure\n");
|
||||
goto err2;
|
||||
}
|
||||
if (!lport->link_up)
|
||||
goto err2;
|
||||
|
||||
FCOE_NETDEV_DBG(netdev, "skb_info: len:%d data_len:%d head:%p "
|
||||
"data:%p tail:%p end:%p sum:%d dev:%s",
|
||||
FCOE_NETDEV_DBG(netdev,
|
||||
"skb_info: len:%d data_len:%d head:%p data:%p tail:%p end:%p sum:%d dev:%s\n",
|
||||
skb->len, skb->data_len, skb->head, skb->data,
|
||||
skb_tail_pointer(skb), skb_end_pointer(skb),
|
||||
skb->csum, skb->dev ? skb->dev->name : "<NULL>");
|
||||
@@ -1794,13 +1794,13 @@ static void fcoe_recv_frame(struct sk_buff *skb)
|
||||
lport = fr->fr_dev;
|
||||
if (unlikely(!lport)) {
|
||||
if (skb->destructor != fcoe_percpu_flush_done)
|
||||
FCOE_NETDEV_DBG(skb->dev, "NULL lport in skb");
|
||||
FCOE_NETDEV_DBG(skb->dev, "NULL lport in skb\n");
|
||||
kfree_skb(skb);
|
||||
return;
|
||||
}
|
||||
|
||||
FCOE_NETDEV_DBG(skb->dev, "skb_info: len:%d data_len:%d "
|
||||
"head:%p data:%p tail:%p end:%p sum:%d dev:%s",
|
||||
FCOE_NETDEV_DBG(skb->dev,
|
||||
"skb_info: len:%d data_len:%d head:%p data:%p tail:%p end:%p sum:%d dev:%s\n",
|
||||
skb->len, skb->data_len,
|
||||
skb->head, skb->data, skb_tail_pointer(skb),
|
||||
skb_end_pointer(skb), skb->csum,
|
||||
|
Verwijs in nieuw issue
Block a user