]> 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)
commitd518116fc5805182b7106946fe6c5491d9e733bf
treee7e538c2033ec30c4a2cc7b636da7fc06a12b92e
parenteb2c2f741d5e2c56936f784c973359bcd2d55256
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