]> git.baikalelectronics.ru Git - kernel.git/commit
net: lantiq: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Wed, 6 May 2020 11:38:46 +0000 (19:38 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2020 21:24:06 +0000 (14:24 -0700)
commit096cc29afd0a6ec6e4a445be7aaa900899748f4f
tree32376a04de312099c77b5e00fe0e5874984f069f
parent93ef0200a1fdf2798da7dc23cb612e8b6f8ccab3
net: lantiq: 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/lantiq_xrx200.c