summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/altera
diff options
context:
space:
mode:
authorYunjian Wang <wangyunjian@huawei.com>2020-05-05 10:49:20 +0800
committerDavid S. Miller <davem@davemloft.net>2020-05-05 11:14:40 -0700
commit09f6c44aaae0f1bdb8b983d7762676d5018c53bc (patch)
tree6faaacaad62630e8ad03da18822c82da19c8d1b1 /drivers/net/ethernet/altera
parent354d86141796a45e9c57c13d66bf2294d4c0d8e7 (diff)
net: allwinner: Fix use correct return type for ndo_start_xmit()
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>
Diffstat (limited to 'drivers/net/ethernet/altera')
0 files changed, 0 insertions, 0 deletions