<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi All,</div><div><br></div><div>Is there anyone encounter this issue before?</div><div><br></div><div>I will appreciate you very much if anyone can give me any suggestion.</div><div><br></div><div>Thanks in advance</div><br><br><br><br><div style="position:relative;zoom:1">--<br><div>
<div style="FONT-SIZE: 14px">
<div align="left"><strong><font color="#0000ff"><em>Best Regards,</em></font></strong></div>
<div><strong><font color="#0000ff"><em>Dai,Lijin</em></font></strong></div></div></div><div style="clear:both"></div></div><div id="divNeteaseMailCard"></div><br>At 2016-09-02 22:41:19, "dailijin" <dailijin126@126.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi Andrew,</div><div><br></div><div>thanks your remind.</div><div>brace is missed when I copy code to here.the actual code is right when debug this issue</div><div><br></div><br><br><br><br><div style="position:relative;zoom:1">--<br><div>
<div style="FONT-SIZE: 14px">
<div align="left"><strong><font color="#0000ff"><em>Best Regards,</em></font></strong></div>
<div><strong><font color="#0000ff"><em>Dai,Lijin</em></font></strong></div></div></div><div style="clear:both"></div></div><div></div><br><pre><br>At 2016-09-02 19:01:09, "Andrew Bird" <<a href="mailto:ajb@spheresystems.co.uk">ajb@spheresystems.co.uk</a>> wrote:
>On Fri, 2 Sep 2016 18:01:06 +0800 (CST)
>dailijin <<a href="mailto:dailijin126@126.com">dailijin126@126.com</a>> wrote:
>
>> Hi all,
>>
>>
>> I add debug info in usbnet and qmi_wwan driver, detail as below.
>>
>>
>> usbnet.c:
>> static inline void rx_process (struct usbnet *dev, struct sk_buff *skb)
>> {
>> ...
>> if (skb->len) {
>> /* all data was already cloned from skb inside the driver */
>> if (dev->driver_info->flags & FLAG_MULTI_PACKET)
>> dev_kfree_skb_any(skb);
>> else
>> printk (KERN_INFO "danner debug =>rx_process, skb len:%zu, dev:%s\n", skb->len, skb->dev ? skb->dev->name : "<NULL>");
>> usbnet_skb_return(dev, skb);
>> return;
>> }
>>
>
>Not sure if that was your intention, but braces are missing around the 'else' if the indentation is correct.
>_______________________________________________
>libqmi-devel mailing list
><a href="mailto:libqmi-devel@lists.freedesktop.org">libqmi-devel@lists.freedesktop.org</a>
>https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
</pre></div><br><br><span title="neteasefooter"><p> </p></span></blockquote></div><br><br><span title="neteasefooter"><p> </p></span>