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

From: David Miller
Date: Wed Sep 26 2018 - 13:23:54 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Wed, 26 Sep 2018 17:18:14 +0800

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

Applied.