]> 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)
commit5377282906ddbf10891cf2ba0cbe891f74fc7d5f
treee892d33412a9d495dab410a58512decf500a009b
parent8e7fda9b058670bae7bd95d9a7929b9742a4c3cf
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