netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nf-next 0/6] netfilter: sparse fixups
@ 2022-06-23 13:05 Florian Westphal
  2022-06-23 13:05 ` [PATCH nf-next 1/6] netfilter: nfnetlink: add missing __be16 cast Florian Westphal
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Florian Westphal @ 2022-06-23 13:05 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Florian Westphal

This series adds be16/be32 annotations to reduce the number of
endianess warnings generated by the sparse checker.

Compile tested only, but objdump shows almost no code
changes except for nft_tunnel.c where a variables type was changed
to __be16.

Florian Westphal (6):
  netfilter: nfnetlink: add missing __be16 cast
  netfilter: x_tables: use correct integer types
  netfilter: nf_tables: use the correct get/put helpers
  netfilter: nf_tables: add and use BE register load-store helpers
  netfilter: nf_tables: use correct integer types
  netfilter: nf_tables: move nft_cmp_fast_mask to where its used

 include/net/netfilter/nf_tables.h      | 15 +++++++++++++++
 include/net/netfilter/nf_tables_core.h | 10 ----------
 net/bridge/netfilter/nft_meta_bridge.c |  2 +-
 net/netfilter/nfnetlink.c              |  2 +-
 net/netfilter/nft_byteorder.c          |  3 ++-
 net/netfilter/nft_cmp.c                | 18 +++++++++++++++---
 net/netfilter/nft_ct.c                 |  4 ++--
 net/netfilter/nft_exthdr.c             | 10 +++++-----
 net/netfilter/nft_osf.c                |  2 +-
 net/netfilter/nft_socket.c             |  8 ++++----
 net/netfilter/nft_tproxy.c             |  6 +++---
 net/netfilter/nft_tunnel.c             |  3 ++-
 net/netfilter/nft_xfrm.c               |  8 ++++----
 net/netfilter/xt_DSCP.c                |  8 ++++----
 net/netfilter/xt_TCPMSS.c              |  4 ++--
 net/netfilter/xt_connlimit.c           |  6 +++---
 16 files changed, 64 insertions(+), 45 deletions(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-07-11 14:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-23 13:05 [PATCH nf-next 0/6] netfilter: sparse fixups Florian Westphal
2022-06-23 13:05 ` [PATCH nf-next 1/6] netfilter: nfnetlink: add missing __be16 cast Florian Westphal
2022-06-23 13:05 ` [PATCH nf-next 2/6] netfilter: x_tables: use correct integer types Florian Westphal
2022-06-23 13:05 ` [PATCH nf-next 3/6] netfilter: nf_tables: use the correct get/put helpers Florian Westphal
2022-06-23 13:05 ` [PATCH nf-next 4/6] netfilter: nf_tables: add and use BE register load-store helpers Florian Westphal
2022-06-23 13:05 ` [PATCH nf-next 5/6] netfilter: nf_tables: use correct integer types Florian Westphal
2022-06-23 13:05 ` [PATCH nf-next 6/6] netfilter: nf_tables: move nft_cmp_fast_mask to where its used Florian Westphal
2022-07-11 14:38 ` [PATCH nf-next 0/6] netfilter: sparse fixups Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).