]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_trap: Make global arrays const as they should be
authorJiri Pirko <jiri@mellanox.com>
Sun, 23 Feb 2020 07:31:41 +0000 (08:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 00:06:59 +0000 (16:06 -0800)
commit7354607097f11884b5935044e11ddc19cf0702b6
tree5787e3e4c46fead376cb22ee2481388982da935d
parent18abf26061c9afecf87f4170e08572efdfa99a31
mlxsw: spectrum_trap: Make global arrays const as they should be

The global arrays are treated as const, they should be const, so make
them const.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c