[PATCH v2 1/1 net-next] fec: net: put tx to napi poll function to fix dead lock

David Miller davem at davemloft.net
Fri Mar 1 15:58:59 EST 2013


From: Frank Li <Frank.Li at freescale.com>
Date: Fri, 1 Mar 2013 11:37:14 +0800

> @@ -566,27 +554,47 @@ fec_timeout(struct net_device *ndev)
>  	netif_wake_queue(ndev);
>  }
>  
> -static void
> +static int
>  fec_enet_tx(struct net_device *ndev)

The return value of this function is never tested, get rid of it.



More information about the linux-arm-kernel mailing list