]> git.baikalelectronics.ru Git - kernel.git/commit
net: renesas: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Wed, 6 May 2020 09:25:14 +0000 (17:25 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2020 21:13:39 +0000 (14:13 -0700)
commite3dc6c309d0415b1a621693062935cfd8b37a4d0
treec201f90c3a961ef2d7fcc36ba11b61f87cba5792
parent53d3623397d7dcde6fcb7ad03bd607a258bd325f
net: renesas: 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/renesas/sh_eth.c