On Fri, 2014-02-21 at 16:15 +0100, Alexander Aring wrote:
> diff --git a/net/ieee802154/6lowpan_rtnl.c b/net/ieee802154/6lowpan_rtnl.c
[]
> @@ -484,8 +475,8 @@ lowpan_skb_fragmentation(struct sk_buff *skb, struct 
> net_device *dev)
>               err = lowpan_fragment_xmit(skb, head, header_length, len,
>                                          offset, LOWPAN_DISPATCH_FRAGN);
>               if (err) {
> -                     pr_debug("%s unable to send a subsequent FRAGN packet "
> -                              "(tag: %d, offset: %d", __func__, tag, offset);
> +                     pr_debug("%s unable to send a FRAGN packet.", __func__);
> +                     pr_debug("tag: %d, offset: %d", tag, offset);

No need for 2 pr_debug statements.

Better to coalesce the format pieces into a single string
adding the close parenthesis and a terminating newline.

                        pr_debug("%s: unable to send a subsequent FRAGN packet 
"(tag: %d, offset: %d)\n",
                                 __func__, tag, offset);



------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to