[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170207.141616.1968546832439148215.davem@davemloft.net>
Date: Tue, 07 Feb 2017 14:16:16 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, idosch@...lanox.com, eladr@...lanox.com,
mlxsw@...lanox.com, dan.carpenter@...cle.com,
David.Laight@...LAB.COM
Subject: Re: [patch net-next v2] spectrum: acl_tcam: Fix catchall prio value
From: Jiri Pirko <jiri@...nulli.us>
Date: Tue, 7 Feb 2017 17:27:47 +0100
> From: Jiri Pirko <jiri@...lanox.com>
>
> This fixes an issue reported by smatch:
> mlxsw_sp_acl_tcam_chunk_create() warn: impossible condition '(priority == (-1)) => (0-u32max == u64max)'
>
> Reported-by: Or Gerlitz <ogerlitz@...lanox.com>
> Reported-by: Ido Schimmel <idosch@...lanox.com>
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Fixes: 22a677661f56 ("mlxsw: spectrum: Introduce ACL core with simple TCAM implementation")
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
> Acked-by: Ido Schimmel <idosch@...lanox.com>
> ---
> v1->v2:
> - using (~0u) as suggested by David Laight
Applied.
Powered by blists - more mailing lists