[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170330135050.GD17879@lunn.ch>
Date: Thu, 30 Mar 2017 15:50:50 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...oirfairelinux.com,
"David S. Miller" <davem@...emloft.net>,
Florian Fainelli <f.fainelli@...il.com>
Subject: Re: [PATCH net-next 4/9] net: dsa: mv88e6xxx: allocate the number of
ports
On Wed, Mar 29, 2017 at 04:30:15PM -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.
Hi Vivien
Is net/dsa/dsa.c: dsa_switch_setup() still used? If it is, won't that
invalidate your assumption about ds->num_ports.
Andrew
Powered by blists - more mailing lists