1
0
Fork 0
alistair23-linux/drivers/net/ethernet/sun
YueHaibing 0e0cc31f69 net: sun: fix return type of ndo_start_xmit function
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>
2018-09-19 21:17:58 -07:00
..
Kconfig sun: Add SPDX license tags to Sun network drivers 2018-02-07 21:51:02 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cassini.c sun: Add SPDX license tags to Sun network drivers 2018-02-07 21:51:02 -05:00
cassini.h sun: Add SPDX license tags to Sun network drivers 2018-02-07 21:51:02 -05:00
ldmvsw.c net: sun: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
niu.c net: ethernet: sun: remove redundant variables adv and lpa and mii_reads 2018-07-05 20:07:40 +09:00
niu.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sunbmac.c net: sun: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
sunbmac.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sungem.c net: sungem: fix rx checksum support 2018-06-20 14:30:06 +09:00
sungem.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sunhme.c net: ethernet: Convert to using %pOFn instead of device_node.name 2018-08-29 19:41:30 -07:00
sunhme.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sunqe.c net: sun: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
sunqe.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sunvnet.c net: sun: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
sunvnet_common.c net: sun: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
sunvnet_common.h net: sun: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00