1
0
Fork 0
alistair23-linux/drivers/net/ethernet/allwinner
Yunjian Wang dc091fc862 net: allwinner: Fix use correct return type for ndo_start_xmit()
[ Upstream commit 09f6c44aaa ]

The method ndo_start_xmit() returns a value of type netdev_tx_t. Fix
the ndo function to use the correct type. And emac_start_xmit() can
leak one skb if 'channel' == 3.

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-22 09:31:02 +02:00
..
Kconfig drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
sun4i-emac.c net: allwinner: Fix use correct return type for ndo_start_xmit() 2020-06-22 09:31:02 +02:00
sun4i-emac.h