mlxsw: core_acl: Change order of args of ops->encode_block()
authorJiri Pirko <jiri@mellanox.com>
Wed, 14 Nov 2018 08:22:31 +0000 (08:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Nov 2018 22:43:43 +0000 (14:43 -0800)
commit3bc6f3858a0d25667164f9b58667d7f3fbce98b6
tree90cb78940c58e76f4f30989db787835dcca20c20
parentd07cd660603349df100e56ef98ee31ae7a5e1423
mlxsw: core_acl: Change order of args of ops->encode_block()

Change order so it is aligned with the usual case where the "write_to"
buffer comes as the first arg.

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/core_acl_flex_keys.c
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_keys.c