]> 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)
commitd912ec18921edf01af9eb808edaeb0cbf235acef
treeb035db2bac150704a71223d5d3d9517e9840c59e
parent7d18847c32b9b454b6e1149ca9f4a3c8dfd1b73b
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