]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: moxa: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Wed, 6 May 2020 12:10:28 +0000 (20:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2020 21:24:06 +0000 (14:24 -0700)
commit10786531cf996d0d1a0f901d9d559eb947013ac3
treee892d33412a9d495dab410a58512decf500a009b
parent1cfecc2353c24b37eea69d9b9a606ca9f473f9bc
net: moxa: 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.

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/moxa/moxart_ether.c