linux-stable/drivers/net/xen-netback
YueHaibing 6d286faeee net: xen-netback: fix return type of ndo_start_xmit function
[ Upstream commit a9ca7f17c6 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-24 08:19:18 +01:00
..
common.h xen-netback: validate queue numbers in xenvif_set_hash_mapping() 2018-09-25 10:39:34 -07:00
hash.c xen-netback: don't populate the hash cache on XenBus disconnect 2019-03-10 07:17:19 +01:00
interface.c net: xen-netback: fix return type of ndo_start_xmit function 2019-11-24 08:19:18 +01:00
Makefile
netback.c xen/netback: Reset nr_frags before freeing skb 2019-08-25 10:48:05 +02:00
rx.c
xenbus.c treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00