commit | a9ca7f17c6d240e269a24cbcd76abf9a940309dd | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Wed Sep 26 17:18:14 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 28 10:25:11 2018 -0700 |
tree | 9eff92d6952d891272c6455017c09a5a2d09383e | |
parent | 470b9254d4687b753a91044e70288614a0a39a01 [diff] |
net: xen-netback: fix return type of ndo_start_xmit function The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, so make sure the implementation in this driver has returns 'netdev_tx_t' value, and change the function return type to netdev_tx_t. Found by coccinelle. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Wei Liu <wei.liu2@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>