[PATCH net-next] net: toshiba: fix return type of ndo_start_xmit function
David Miller
davem at davemloft.net
Thu Sep 20 14:19:05 AEST 2018
From: YueHaibing <yuehaibing at huawei.com>
Date: Wed, 19 Sep 2018 18:23:39 +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 at huawei.com>
Applied.
More information about the Linuxppc-dev
mailing list