OSDN Git Service

net: cpmac: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Wed, 6 May 2020 12:21:45 +0000 (20:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2020 21:24:06 +0000 (14:24 -0700)
commit787e4a79cd5ffc46fe5fa1ce9464e79143423ac0
treeb762b7aa3ae72745a8b5e77d11e75f79dc6a5506
parent10786531cf996d0d1a0f901d9d559eb947013ac3
net: cpmac: 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/ti/cpmac.c