Files
linux/drivers/net/ethernet/sun
YueHaibing bd23121dae 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:47:04 +01:00
..
2018-06-20 14:30:06 +09:00