]> git.baikalelectronics.ru Git - kernel.git/commit
net: nxp: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Tue, 5 May 2020 03:22:20 +0000 (11:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2020 18:17:56 +0000 (11:17 -0700)
commiteb1ae4c1b1d057f895898714e8afbfc08e99d0c3
treee0da32811947a1014d7392b7220f6842fcb8a1b9
parentc8a2569f9ae13576b2e83e9a816d828d3d8cb9e7
net: nxp: 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/nxp/lpc_eth.c