OSDN Git Service

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)
commit1f3e915e316c4393ce940ab184c176b7202f3ff7
treec201f90c3a961ef2d7fcc36ba11b61f87cba5792
parent77afd98719d5cbe496196dcf69af7b84206708fd
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