diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-02-07 17:27:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-07 20:15:21 +0100 |
commit | 9bcdef3288f2f4d8b05d522128198fdcb3f07885 (patch) | |
tree | b56561b808c5dd56cc576bcb2d302dc1338e5008 /net/bridge/br_input.c | |
parent | bridge: remove unnecessary check for vtbegin in br_fill_vlan_tinfo_range (diff) | |
download | linux-9bcdef3288f2f4d8b05d522128198fdcb3f07885.tar.xz linux-9bcdef3288f2f4d8b05d522128198fdcb3f07885.zip |
spectrum: acl_tcam: Fix catchall prio value
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@mellanox.com>
Reported-by: Ido Schimmel <idosch@mellanox.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 22a677661f56 ("mlxsw: spectrum: Introduce ACL core with simple TCAM implementation")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions