Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932882AbdC2BBS (ORCPT ); Tue, 28 Mar 2017 21:01:18 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:39896 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932623AbdC2BBR (ORCPT ); Tue, 28 Mar 2017 21:01:17 -0400 Date: Tue, 28 Mar 2017 18:01:05 -0700 (PDT) Message-Id: <20170328.180105.1996071259325891752.davem@davemloft.net> To: arnd@arndb.de Cc: peppe.cavallaro@st.com, alexandre.torgue@st.com, Joao.Pinto@synopsys.com, clabbe.montjoie@gmail.com, treding@nvidia.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [net-next] stmmac: use netif_set_real_num_{rx,tx}_queues From: David Miller In-Reply-To: <20170328094856.3457886-1-arnd@arndb.de> References: <20170328094856.3457886-1-arnd@arndb.de> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 28 Mar 2017 17:19:51 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 596 Lines: 14 From: Arnd Bergmann Date: Tue, 28 Mar 2017 11:48:21 +0200 > A driver must not access the two fields directly but should instead use > the helper functions to set the values and keep a consistent internal > state: > > ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_dvr_probe': > ethernet/stmicro/stmmac/stmmac_main.c:4083:8: error: 'struct net_device' has no member named 'real_num_rx_queues'; did you mean 'real_num_tx_queues'? > > Fixes: a8f5102af2a7 ("net: stmmac: TX and RX queue priority configuration") > Signed-off-by: Arnd Bergmann Applied.