]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_acl: Make block arg const where appropriate
authorJiri Pirko <jiri@mellanox.com>
Sun, 23 Feb 2020 07:31:42 +0000 (08:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 00:06:59 +0000 (16:06 -0800)
commit81e2ee6e2e2c773db3b2f998b50e88a259ee74cf
tree3fd9b0ddd95f9d291cb6a7fcc1109a7c1b101267
parent7354607097f11884b5935044e11ddc19cf0702b6
mlxsw: spectrum_acl: Make block arg const where appropriate

There are couple of places where block pointer as a function argument
can be const. So make those 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.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c