From 7049e7475f60485cb72751b6068f4799970b75e3 Mon Sep 17 00:00:00 2001 From: Chaitanya Pratapa Date: Thu, 20 Feb 2020 17:43:04 -0800 Subject: [PATCH] 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 Signed-off-by: Chaitanya Pratapa --- drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c b/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c index c49e3e6379..3e40c6190d 100644 --- a/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +++ b/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c @@ -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;