mbox series

[v1,net-next,0/2] ocelot stats improvement

Message ID 20220430232327.4091825-1-colin.foster@in-advantage.com (mailing list archive)
Headers show
Series ocelot stats improvement | expand

Message

Colin Foster April 30, 2022, 11:23 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org May 2, 2022, 9:20 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 30 Apr 2022 16:23:25 -0700 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [v1,net-next,1/2] net: mscc: ocelot: remove unnecessary variable
    https://git.kernel.org/netdev/net-next/c/05e4ed1ce585
  - [v1,net-next,2/2] net: mscc: ocelot: add missed parentheses around macro argument
    https://git.kernel.org/netdev/net-next/c/8c5b07da9bc8

You are awesome, thank you!