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

From: David Miller
Date: Thu Sep 20 2018 - 00:19:51 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Wed, 19 Sep 2018 19:21:32 +0800

> The method ndo_start_xmit() is defined as returning an 'netdev_tx_t',
> which is a typedef for an enum type, but the implementation in this
> driver returns an 'int'.
>
> Found by coccinelle.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied.