OpenCloudOS-Kernel/drivers/net/ethernet/aurora
Luc Van Oostenryck f649c35551 net: nb8800: fix nb8800_xmit()'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: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
nb8800.c net: nb8800: fix nb8800_xmit()'s return type 2020-06-28 20:52:53 -07:00
nb8800.h net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00