system automatically reboot due to MC7430

Andrew Bird ajb at spheresystems.co.uk
Fri Sep 2 11:01:09 UTC 2016


On Fri, 2 Sep 2016 18:01:06 +0800 (CST)
dailijin  <dailijin126 at 126.com> 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.


More information about the libqmi-devel mailing list