]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd2c28e0034ef49fe173ad54f1daa8f857913542
tree64cf0210b38b34e2522cda87b23af36c3cf8a07a
parentbd5b5dbfd662589d4642917ef3858c9d488ecfe8
net: mscc: ocelot: add missed parentheses around macro argument

Commit 0e9b1886d08c ("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: 0e9b1886d08c ("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