Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e38db6be authored by Julian Wiedmann's avatar Julian Wiedmann Committed by David S. Miller
Browse files

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -681,7 +681,8 @@ static void qeth_l2_set_rx_mode(struct net_device *dev)
		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;
	struct qeth_hdr *hdr = NULL;
+2 −1
Original line number Diff line number Diff line
@@ -2655,7 +2655,8 @@ static int qeth_l3_get_elements_no_tso(struct qeth_card *card,
	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;
	__be16 *tag;