]> git.baikalelectronics.ru Git - kernel.git/commit
rionet: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Thu, 30 Apr 2020 11:26:40 +0000 (19:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2020 19:15:13 +0000 (12:15 -0700)
commite5dc89c79ca6440952bd00cfdb03527de8ac1106
treeb035db2bac150704a71223d5d3d9517e9840c59e
parentc06a3557406938f5f75f516da6e2c4f9f5f5bdeb
rionet: 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/rionet.c