linux-uconsole/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
..
cassini.c
cassini.h
Kconfig
ldmvsw.c net: sun: fix return type of ndo_start_xmit function 2019-11-20 18:47:04 +01:00
Makefile
niu.c
niu.h
sunbmac.c net: sun: fix return type of ndo_start_xmit function 2019-11-20 18:47:04 +01:00
sunbmac.h
sungem.c
sungem.h
sunhme.c
sunhme.h
sunqe.c net: sun: fix return type of ndo_start_xmit function 2019-11-20 18:47:04 +01:00
sunqe.h
sunvnet.c net: sun: fix return type of ndo_start_xmit function 2019-11-20 18:47:04 +01:00
sunvnet_common.c net: sun: fix return type of ndo_start_xmit function 2019-11-20 18:47:04 +01:00
sunvnet_common.h net: sun: fix return type of ndo_start_xmit function 2019-11-20 18:47:04 +01:00