kernel-fxtec-pro1x/drivers/net/ethernet/sun
YueHaibing bd23121dae net: sun: fix return type of ndo_start_xmit function
[ Upstream commit 0e0cc31f6999df18bb5cfd0bd83c892ed5633975 ]

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
..
cassini.c
cassini.h
Kconfig
ldmvsw.c
Makefile
niu.c
niu.h
sunbmac.c
sunbmac.h
sungem.c
sungem.h
sunhme.c
sunhme.h
sunqe.c
sunqe.h
sunvnet.c
sunvnet_common.c
sunvnet_common.h