commit | 720b4f27b187e50df1217a35d686ed09cbe06c75 | [log] [tgz] |
---|---|---|
author | Yunjian Wang <wangyunjian@huawei.com> | Tue May 05 10:49:20 2020 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jun 20 10:24:16 2020 +0200 |
tree | b249ef27fcbd2e5fbd1c8988ec80e35daf55d0dc | |
parent | e6eadb140096cffc51e3111fa2f6fcae6d2df77e [diff] |
net: allwinner: Fix use correct return type for ndo_start_xmit() [ Upstream commit 09f6c44aaae0f1bdb8b983d7762676d5018c53bc ] 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>