Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2226326imm; Mon, 28 May 2018 04:19:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqdVLkXPwgvFWgTHUWn6j0B0GrpayGYdAtneDnKqOzkC5KlsXD0eODuyy277ycH+WuCz9eG X-Received: by 2002:a17:902:7c94:: with SMTP id y20-v6mr13243607pll.202.1527506347347; Mon, 28 May 2018 04:19:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527506347; cv=none; d=google.com; s=arc-20160816; b=Y5uoBE6A0mnzs0rUnp21OANnWWha2zLm50Ld0cM12+N8l59qc982Rm9A1/qmlBJaIp KBR7pzfj1lFOFf+oaMpu5sPRutVofiXxkhkGc6qM0kWusdCyaEvRvlUS94i/OT8fKO8N 2tQcVbndPrDmfKJtR8t9tMkFXoiHCwkVaZwfSuqB0oqkh84JvmhzKNLMoaEEdOfAP7r3 DxHKvlD//0R533/S0j+ZZyEtMmQQJh5RNPOBfXktbBqNOkREyrY2b7k8VCNJ/B878A39 kPOJTCreMT/zUxdXLnxzKTeJhqMMLQpAh9dtGt/ncacJi6F+Vp3Ikgsa0iY0WYvx/h6o i7TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=nTaJf//4BRYnyxWL8gDBzm2HXxtbPjkfY1xca1Fpc2k=; b=AM3TQNsLL62Hm9A55koRCjSNE2HBMECknLtTE+hqnzLaJ9+KMNFABbvn51GGY1QrZ4 KjgUKyrS+TXdbxmjcxuVnrzUWyfZcs8lTF9UmS1v2mn5+W0sxwfgJeJ/1K2OzCALXjQk FSINsP7tCd0RilwBIOfrjJjd91wWIGFHycntaUTnEVBNpv232BO+1zvmRZhn2y+ACDSi 5fXapf6Eue5atnyd9DemO/wnefLm0H0cw4ccGT6ID1F8OAP17ple36poQ7EfSNKnujpW 0P8HZAm2cvsTuaWeaBxJ5xaHYP3vsPwIifb6zhedD9M+VAoJMVIyxVGCDN+98dMYh9sM qqdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cVoUHJaM; 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 o1-v6si29483959plb.220.2018.05.28.04.18.52; Mon, 28 May 2018 04:19:07 -0700 (PDT) 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=cVoUHJaM; 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 S1424722AbeE1LQr (ORCPT + 99 others); Mon, 28 May 2018 07:16:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:35548 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1424271AbeE1LQh (ORCPT ); Mon, 28 May 2018 07:16:37 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (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 A1853206B7; Mon, 28 May 2018 11:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527506197; bh=xYILAaJfxfsckZQV1kCXo3K15aftbaOnigkncjTqxSE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cVoUHJaMh/H56ze2d5+lQGc4zYKNj86ZmCnkmMuY0guEoj7//9mFeqbg6DU+yH4Xe VQOWl4fQuYkHjjWq8tXpes2qSg8UWU0d1Vb71jdsNaVkebzeWuP9v7qvIrIHvS1y/r v1nAzRlwXk2MC4XK+ersYI/5ppDWgq9xd2ULGuRA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Niklas Cassel , "David S. Miller" , Sasha Levin Subject: [PATCH 4.16 240/272] net: stmmac: call correct function in stmmac_mac_config_rx_queues_routing() Date: Mon, 28 May 2018 12:04:33 +0200 Message-Id: <20180528100300.481032328@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180528100240.256525891@linuxfoundation.org> References: <20180528100240.256525891@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Niklas Cassel [ Upstream commit 13138de01400762f706c5e956e70660770d61962 ] stmmac_mac_config_rx_queues_routing() incorrectly calls rx_queue_prio() instead of rx_queue_routing(). This looks like a copy paste issue, since stmmac_mac_config_rx_queues_prio() already calls rx_queue_prio(), and both stmmac_mac_config_rx_queues_routing() and stmmac_mac_config_rx_queues_prio() are very similar in structure. Fixes: abe80fdc6ee6 ("net: stmmac: RX queue routing configuration") Signed-off-by: Niklas Cassel Signed-off-by: David S. Miller Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c @@ -2435,7 +2435,7 @@ static void stmmac_mac_config_rx_queues_ continue; packet = priv->plat->rx_queues_cfg[queue].pkt_route; - priv->hw->mac->rx_queue_prio(priv->hw, packet, queue); + priv->hw->mac->rx_queue_routing(priv->hw, packet, queue); } }