[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    [PATCH v1 net-next 0/2] ocelot stats improvement
From:       Colin Foster <colin.foster () in-advantage ! com>
Date:       2022-04-30 23:23:25
Message-ID: 20220430232327.4091825-1-colin.foster () in-advantage ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic