Re: [PATCH net-next] net: hns3: fix return type of ndo_start_xmit function

From: David Miller
Date: Tue Sep 18 2018 - 23:01:54 EST

From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Tue, 18 Sep 2018 14:09:43 +0800

> The method ndo_start_xmit() is defined as returning an 'netdev_tx_t',
> which is a typedef for an enum type, also the implementation in this
> driver has returns 'netdev_tx_t' value, so just change the function
> return type to netdev_tx_t.
> Found by coccinelle.
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>