diff options
author | 2020-06-24 01:51:36 +0530 | |
---|---|---|
committer | 2020-06-23 15:18:48 -0700 | |
commit | f286dd8eaad5a2758750f407ab079298e0bcc8a5 (patch) | |
tree | b40d122650fe08d3262701829a10303bd9921239 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cxgb4: fix endian conversions for L4 ports in filters (diff) | |
download | wireguard-linux-f286dd8eaad5a2758750f407ab079298e0bcc8a5.tar.xz wireguard-linux-f286dd8eaad5a2758750f407ab079298e0bcc8a5.zip |
cxgb4: use correct type for all-mask IP address comparison
Use correct type to check for all-mask exact match IP addresses.
Fixes following sparse warnings due to big endian value checks
against 0xffffffff in is_addr_all_mask():
cxgb4_filter.c:977:25: warning: restricted __be32 degrades to integer
cxgb4_filter.c:983:37: warning: restricted __be32 degrades to integer
cxgb4_filter.c:984:37: warning: restricted __be32 degrades to integer
cxgb4_filter.c:985:37: warning: restricted __be32 degrades to integer
cxgb4_filter.c:986:37: warning: restricted __be32 degrades to integer
Fixes: 3eb8b62d5a26 ("cxgb4: add support to create hash-filters via tc-flower offload")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions