Commit e38db6be authored by Julian Wiedmann's avatar Julian Wiedmann Committed by 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: default avatarJulian Wiedmann <jwi@linux.vnet.ibm.com>
Acked-by: default avatarUrsula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment