OpenCloudOS-Kernel/drivers/net/ethernet/arc
Luc Van Oostenryck de37b0a58a net: arc_emac: fix arc_emac_tx()'s return type
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'.

Fix this by returning 'netdev_tx_t' in this driver too.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-28 20:52:53 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
emac.h net/arc: Delete driver version 2020-02-24 11:24:47 -08:00
emac_arc.c net/arc: Delete driver version 2020-02-24 11:24:47 -08:00
emac_main.c net: arc_emac: fix arc_emac_tx()'s return type 2020-06-28 20:52:53 -07:00
emac_mdio.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
emac_rockchip.c net/arc: Delete driver version 2020-02-24 11:24:47 -08:00