Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2537173imu; Thu, 29 Nov 2018 06:33:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/XLp3eiw+MvJ7E/L+lvltQgQLZdw1g+v2phua7aXVOIQit7MhD1GvEwAXp3LVSiBvDJBa+m X-Received: by 2002:a63:d904:: with SMTP id r4mr1437155pgg.207.1543502039476; Thu, 29 Nov 2018 06:33:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543502039; cv=none; d=google.com; s=arc-20160816; b=Gcv+WDAO2R2Nnnp0c2VhWmOvRKyG9dOOm9dqp4RU0GWj0uo8pTugrf0hHMbYSUqoU4 DhJOPEfl4pmRjNQF7d4Rbz02WoRS7ito+yuKlXLTcLQbF9YGcTO7Y428HnRkBON07cuM eNHWRfiw3aOWq1JBMEKy9Jo4nYO6Ou5fU9bgS66TDBmNRnLc703ne+uV0hF1rx1HP2xF brHv4dKKs4PWbtJm4fK4MNYI6OQJQqZNtbhY9FhztGv73GNywpWKxZtSfsl9hh+CbEAS IkMPYo7IXpk8qst7eF/PSIaRLLmeySACPiEDpYWl0cMCY0Vp3Vct1ZO491gaUhMecTwe JTpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=/YhENVpaXwoTkzROefUPivD7xJpdOrvEDYTfgQX0YQk=; b=PuBrPyMrMDzry5jUQcbtUXppFvOju828mb/A0E9UpV2D77NVHKs6/L0R6lwADxgSmc rSKNgwnUpEdE84uujYdpGT+5irRU4GVxHSepgxN6u4gayMRH+rKIPdhE5s5Movg1JN+7 /BbL4PGTfn0YER6cj4FjugNfMZIOXosGHrUL8B5kXwPDsjukNw0D4Wkgz7dZYxCjnOMF osFjclrbFSKVcyHGR5NUZt/bp+jTdWvOO9QmH9lUMLnV6pLOHj91mWLnszbJjkiMM6Ou uOXgorsz5rFvCsXl1Y4FB8hPkdjcVLQ1ZbrPh+BVp13CopSqaQGOAvBXyM9wIi8QzOIS oFJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Q6/IvaQP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z188si1780353pgb.330.2018.11.29.06.33.44; Thu, 29 Nov 2018 06:33:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Q6/IvaQP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389349AbeK3Bhk (ORCPT + 99 others); Thu, 29 Nov 2018 20:37:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:40712 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732374AbeK3Bhj (ORCPT ); Thu, 29 Nov 2018 20:37:39 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 31B7B213A2; Thu, 29 Nov 2018 14:32:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543501925; bh=M7yzv5RI9jO+LycEyZopC1Q5nL/ZfXjp1RUswh2X/1w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q6/IvaQPMcQ8mN24a0zEcOA4JfU2y42oIVU8bFmempcclv/IrPvaCf/SfQT52ZVl3 VGVRdc5dwPfusR6+k3MdKnSZGf4chDvimsTufxacUwACMCOEUxD1F6bBa1e3COxFc8 kg+om+3Ab0JY45QC7s39WdmDCwKYO5SFWja7YOis= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Oleksij Rempel , Marc Kleine-Budde Subject: [PATCH 4.19 054/110] can: rx-offload: rename can_rx_offload_irq_queue_err_skb() to can_rx_offload_queue_tail() Date: Thu, 29 Nov 2018 15:12:25 +0100 Message-Id: <20181129135923.449757661@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181129135921.231283053@linuxfoundation.org> References: <20181129135921.231283053@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Oleksij Rempel commit 4530ec36bb1e0d24f41c33229694adacda3d5d89 upstream. This function has nothing todo with error. Signed-off-by: Oleksij Rempel Cc: linux-stable Signed-off-by: Marc Kleine-Budde Signed-off-by: Greg Kroah-Hartman --- drivers/net/can/flexcan.c | 4 ++-- drivers/net/can/rx-offload.c | 5 +++-- include/linux/can/rx-offload.h | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) --- a/drivers/net/can/flexcan.c +++ b/drivers/net/can/flexcan.c @@ -612,7 +612,7 @@ static void flexcan_irq_bus_err(struct n if (tx_errors) dev->stats.tx_errors++; - can_rx_offload_irq_queue_err_skb(&priv->offload, skb); + can_rx_offload_queue_tail(&priv->offload, skb); } static void flexcan_irq_state(struct net_device *dev, u32 reg_esr) @@ -652,7 +652,7 @@ static void flexcan_irq_state(struct net if (unlikely(new_state == CAN_STATE_BUS_OFF)) can_bus_off(dev); - can_rx_offload_irq_queue_err_skb(&priv->offload, skb); + can_rx_offload_queue_tail(&priv->offload, skb); } static inline struct flexcan_priv *rx_offload_to_priv(struct can_rx_offload *offload) --- a/drivers/net/can/rx-offload.c +++ b/drivers/net/can/rx-offload.c @@ -255,7 +255,8 @@ unsigned int can_rx_offload_get_echo_skb } EXPORT_SYMBOL_GPL(can_rx_offload_get_echo_skb); -int can_rx_offload_irq_queue_err_skb(struct can_rx_offload *offload, struct sk_buff *skb) +int can_rx_offload_queue_tail(struct can_rx_offload *offload, + struct sk_buff *skb) { if (skb_queue_len(&offload->skb_queue) > offload->skb_queue_len_max) @@ -266,7 +267,7 @@ int can_rx_offload_irq_queue_err_skb(str return 0; } -EXPORT_SYMBOL_GPL(can_rx_offload_irq_queue_err_skb); +EXPORT_SYMBOL_GPL(can_rx_offload_queue_tail); static int can_rx_offload_init_queue(struct net_device *dev, struct can_rx_offload *offload, unsigned int weight) { --- a/include/linux/can/rx-offload.h +++ b/include/linux/can/rx-offload.h @@ -45,7 +45,8 @@ int can_rx_offload_queue_sorted(struct c struct sk_buff *skb, u32 timestamp); unsigned int can_rx_offload_get_echo_skb(struct can_rx_offload *offload, unsigned int idx, u32 timestamp); -int can_rx_offload_irq_queue_err_skb(struct can_rx_offload *offload, struct sk_buff *skb); +int can_rx_offload_queue_tail(struct can_rx_offload *offload, + struct sk_buff *skb); void can_rx_offload_reset(struct can_rx_offload *offload); void can_rx_offload_del(struct can_rx_offload *offload); void can_rx_offload_enable(struct can_rx_offload *offload);