Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1604460

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

From Ido Schimmel <idosch@idosch.org>
Newsgroups linux.kernel
Subject Re: [PATCH] mlxsw: spectrum: fix swapped order of arguments packets and bytes
Date 2017-03-20 13:20 +0100
Message-ID <tn4s2-4zk-25@gated-at.bofh.it> (permalink)
References <tn3YZ-48j-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Mar 20, 2017 at 11:37:22AM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> 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")

Only need first 12 characters.

> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Acked-by: Ido Schimmel <idosch@mellanox.com>

Thanks!

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] mlxsw: spectrum: fix swapped order of arguments packets and bytes Colin King <colin.king@canonical.com> - 2017-03-20 12:50 +0100
  Re: [PATCH] mlxsw: spectrum: fix swapped order of arguments packets  and bytes Ido Schimmel <idosch@idosch.org> - 2017-03-20 13:20 +0100
  Re: [PATCH] mlxsw: spectrum: fix swapped order of arguments packets  and bytes Jiri Pirko <jiri@resnulli.us> - 2017-03-20 13:40 +0100
  Re: [PATCH] mlxsw: spectrum: fix swapped order of arguments  packets and bytes David Miller <davem@davemloft.net> - 2017-03-22 19:20 +0100

csiph-web