提交 e38db6be 编写于 作者: J Julian Wiedmann 提交者: David S. Miller

s390/qeth: use correct return type for hard_start_xmit()

ndo_start_xmit() expects us to return netdev_tx_t here...
Signed-off-by: NJulian Wiedmann <jwi@linux.vnet.ibm.com>
Acked-by: NUrsula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 4e8d7e62
...@@ -681,7 +681,8 @@ static void qeth_l2_set_rx_mode(struct net_device *dev) ...@@ -681,7 +681,8 @@ static void qeth_l2_set_rx_mode(struct net_device *dev)
qeth_promisc_to_bridge(card); qeth_promisc_to_bridge(card);
} }
static int qeth_l2_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) static netdev_tx_t qeth_l2_hard_start_xmit(struct sk_buff *skb,
struct net_device *dev)
{ {
int rc; int rc;
struct qeth_hdr *hdr = NULL; struct qeth_hdr *hdr = NULL;
......
...@@ -2655,7 +2655,8 @@ static int qeth_l3_get_elements_no_tso(struct qeth_card *card, ...@@ -2655,7 +2655,8 @@ static int qeth_l3_get_elements_no_tso(struct qeth_card *card,
return elements; return elements;
} }
static int qeth_l3_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) static netdev_tx_t qeth_l3_hard_start_xmit(struct sk_buff *skb,
struct net_device *dev)
{ {
int rc; int rc;
__be16 *tag; __be16 *tag;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册