]> git.baikalelectronics.ru Git - kernel.git/commit
net: ni: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Tue, 5 May 2020 07:59:26 +0000 (15:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2020 18:39:43 +0000 (11:39 -0700)
commitb379648161513a475e8f99d98c8c1bf6dc703fa5
tree88e16b71c731379d6e0baf6a9237de79381e137c
parent5632cb5faa02b7e1bfad9ad13a33581181220d66
net: ni: 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/ni/nixge.c