OpenCloudOS-Kernel/drivers/net/ethernet/freescale/fs_enet
YueHaibing 06983aa526 net: freescale: 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, so make sure the implementation in
this driver has returns 'netdev_tx_t' value, and change the function
return type to netdev_tx_t.

Found by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-21 19:12:13 -07:00
..
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fec.h net: ethernet: Use existing define with polynomial 2018-07-27 19:16:37 +08:00
fs_enet-main.c net: freescale: fix return type of ndo_start_xmit function 2018-09-21 19:12:13 -07:00
fs_enet.h net: fs_enet: do not call phy_stop() in interrupts 2018-01-17 15:44:16 -05:00
mac-fcc.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
mac-fec.c net: ethernet: Use existing define with polynomial 2018-07-27 19:16:37 +08:00
mac-scc.c net: ethernet: fs_enet: Remove useless includes 2017-03-16 11:15:15 -07:00
mii-bitbang.c net: ethernet: freescale: fs_enet: make mdiobb_ops const 2017-08-22 14:22:06 -07:00
mii-fec.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00