Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933407AbdCaQ1q (ORCPT ); Fri, 31 Mar 2017 12:27:46 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:41941 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933106AbdCaQ1p (ORCPT ); Fri, 31 Mar 2017 12:27:45 -0400 Date: Fri, 31 Mar 2017 18:27:40 +0200 From: Andrew Lunn To: Vivien Didelot Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Florian Fainelli Subject: Re: [PATCH net-next v2 4/9] net: dsa: mv88e6xxx: allocate the number of ports Message-ID: <20170331162740.GF12814@lunn.ch> References: <20170330213715.9666-1-vivien.didelot@savoirfairelinux.com> <20170330213715.9666-5-vivien.didelot@savoirfairelinux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170330213715.9666-5-vivien.didelot@savoirfairelinux.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 363 Lines: 10 On Thu, Mar 30, 2017 at 05:37:10PM -0400, Vivien Didelot wrote: > The current code allocates DSA_MAX_PORTS ports for a Marvell dsa_switch > structure. Provide the exact number of ports so the corresponding > ds->num_ports is accurate. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Andrew