[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8f895c6b-315b-9462-6d76-4f9da74fa25d@gmail.com>
Date: Wed, 18 Nov 2020 19:09:19 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Michael Grzeschik <m.grzeschik@...gutronix.de>,
netdev@...r.kernel.org
Cc: andrew@...n.ch, davem@...emloft.net, kernel@...gutronix.de,
matthias.schiffer@...tq-group.com, woojung.huh@...rochip.com,
UNGLinuxDriver@...rochip.com
Subject: Re: [PATCH 05/11] net: dsa: microchip: ksz8795: use mib_cnt where
possible
On 11/18/2020 2:03 PM, Michael Grzeschik wrote:
> The variable mib_cnt is assigned with TOTAL_SWITCH_COUNTER_NUM. This
> value can also be derived from the array size of mib_names. This patch
> uses this calculated value instead, removes the extra define and uses
> mib_cnt everywhere possible instead of the static define
> TOTAL_SWITCH_COUNTER_NUM.
>
> Signed-off-by: Michael Grzeschik <m.grzeschik@...gutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists