]> git.baikalelectronics.ru Git - 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)
commit1acd47efca802a0dc4ae4beb61c9c5e6ab6d9875
treee892d33412a9d495dab410a58512decf500a009b
parent096cc29afd0a6ec6e4a445be7aaa900899748f4f
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