OSDN Git Service

net: mscc: ocelot: add missed parentheses around macro argument
authorColin Foster <colin.foster@in-advantage.com>
Sat, 30 Apr 2022 23:23:27 +0000 (16:23 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 2 May 2022 21:04:17 +0000 (14:04 -0700)
commit8c5b07da9bc8c056a3ddca00b4e268358f643343
tree64cf0210b38b34e2522cda87b23af36c3cf8a07a
parent05e4ed1ce585637958c8ad6121999dc3109633ad
net: mscc: ocelot: add missed parentheses around macro argument

Commit 2f187bfa6f35 ("net: ethernet: ocelot: remove the need for num_stats
initializer") added a macro that patchwork warned it lacked parentheses
around an argument. Correct this mistake.

Fixes: 2f187bfa6f35 ("net: ethernet: ocelot: remove the need for num_stats initializer")
Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/soc/mscc/ocelot.h