OpenCloudOS-Kernel/drivers/net/xen-netback
YueHaibing a9ca7f17c6 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>
2018-09-28 10:25:11 -07:00
..
Makefile xen-netback: separate guest side rx code into separate module 2016-10-06 20:37:35 -04:00
common.h net/xen-netback: Convert timers to use timer_setup() 2017-10-18 12:40:27 +01:00
hash.c xen-netback: Use GFP_ATOMIC to allocate hash 2017-03-02 14:44:22 -08:00
interface.c net: xen-netback: fix return type of ndo_start_xmit function 2018-09-28 10:25:11 -07:00
netback.c xen-netback: remove unecessary condition check before debugfs_remove_recursive 2018-09-11 23:02:08 -07:00
rx.c xen-netback: make function xenvif_rx_skb static 2018-02-26 11:36:54 -05:00
xenbus.c net: xenbus: remove redundant condition check before debugfs_remove_recursive 2018-09-11 23:01:33 -07:00