msm: ipa: Fix ipa3_wwan_xmit return type

This change will fix the error seen with CFI for the return type of
ipa3_wwan_xmit.

Change-Id: Ib201debb338295f3a83bf07f51e0434cd3519db4
Acked-by: Priyadarshini Rajagopal <prajagop@qti.qualcomm.com>
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
This commit is contained in:
Chaitanya Pratapa 2020-02-20 17:43:04 -08:00
parent 73c931c92c
commit 7049e7475f

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2014-2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2020, The Linux Foundation. All rights reserved.
*/
/*
@ -1172,7 +1172,7 @@ static int ipa3_wwan_change_mtu(struct net_device *dev, int new_mtu)
* later
* -EFAULT: Error while transmitting the skb
*/
static int ipa3_wwan_xmit(struct sk_buff *skb, struct net_device *dev)
static netdev_tx_t ipa3_wwan_xmit(struct sk_buff *skb, struct net_device *dev)
{
int ret = 0;
bool qmap_check;