]> 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)
commita0eb9dbd08fbeb52c916d0077253b01cf05dd5b2
treec201f90c3a961ef2d7fcc36ba11b61f87cba5792
parent35b1d987fa15275f2605a8aedbf8765eb0c722a0
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