Re: [PATCH] mlxsw: spectrum: fix swapped order of arguments packets and bytes

From: David Miller
Date: Wed Mar 22 2017 - 14:13:27 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Mon, 20 Mar 2017 11:37:22 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The arguments packets and bytes to call mlxsw_sp_acl_rule_get_stats are
> in the wrong order. Fix this by swapping them.
>
> Detected by CoverityScan, CID#1419705 ("Arguments in wrong order")
>
> Fixes: 7c1b8eb175b69add8ea ("mlxsw: spectrum: Add support for TC flower offload statistics")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thanks.