]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: constify variables in the replay helpers
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sun, 27 Jun 2021 11:54:26 +0000 (14:54 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jun 2021 21:09:03 +0000 (14:09 -0700)
commit025042b810df6bc4843ef1ed3a665ac82b766787
treee7e538c2033ec30c4a2cc7b636da7fc06a12b92e
parentca05b89b4e01fd5109427da0ca6b33dc8087f40a
net: bridge: constify variables in the replay helpers

Some of the arguments and local variables for the newly added switchdev
replay helpers can be const, so let's make them so.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_bridge.h
net/bridge/br_fdb.c
net/bridge/br_mdb.c
net/bridge/br_stp.c