Files
linux/drivers/net/ethernet/sun
YueHaibing 53a5d20416 net: sun: fix return type of ndo_start_xmit function
[ Upstream commit 0e0cc31f69 ]

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@huawei.com>
Acked-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-20 18:00:16 +01:00
..
2018-07-22 14:28:46 +02:00