OSDN Git Service

net: caif: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Thu, 30 Apr 2020 10:16:16 +0000 (18:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2020 19:13:07 +0000 (12:13 -0700)
commit99b2292ba21b47bbd97d33ab20892347ad2ac351
tree5971a3b9471d70486d67015ee2da21643a3fbd96
parent4b88de9f016138fec7cc3f9396fae1f94360608e
net: caif: 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>
net/caif/chnl_net.c