[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220430232327.4091825-1-colin.foster@in-advantage.com>
Date: Sat, 30 Apr 2022 16:23:25 -0700
From: Colin Foster <colin.foster@...advantage.com>
To: linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
UNGLinuxDriver@...rochip.com,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Claudiu Manoil <claudiu.manoil@....com>,
Vladimir Oltean <vladimir.oltean@....com>
Subject: [PATCH v1 net-next 0/2] ocelot stats improvement
A couple of pick-ups after f187bfa6f35 ("net: ethernet: ocelot: remove
the need for num_stats initializer") - one addresses a warning
patchwork flagged about operator precedence when using macro arguments.
The other is a reduction of unnecessary memory allocation.
Colin Foster (2):
net: mscc: ocelot: remove unnecessary variable
net: mscc: ocelot: add missed parentheses around macro argument
include/soc/mscc/ocelot.h | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
--
2.25.1
Powered by blists - more mailing lists