Re: [PATCH stable v1 05/13] net: ethernet: aquantia: Support for NIC-specific code

2017-01-29 Thread Lino Sanfilippo
On 29.01.2017 06:09, Alexander Loktionov wrote: + +static int aq_ndev_start_xmit(struct sk_buff *skb, struct net_device *ndev) +{ + struct aq_nic_s *aq_nic = netdev_priv(ndev); + int err = 0; + + err = aq_nic_xmit(aq_nic, skb); Initialization of err is superfluous. +

[PATCH stable v1 05/13] net: ethernet: aquantia: Support for NIC-specific code

2017-01-28 Thread Alexander Loktionov
From: David VomLehn Add support for code specific to the Atlantic NIC. Signed-off-by: Alexander Loktionov Signed-off-by: Dmitrii Tarakanov Signed-off-by: Pavel Belous Signed-off-by: Dmitry Bezrukov Signed-off-by: David M. VomLehn --- drivers/net/ethernet/aquantia/atlantic/aq_main.c | 273