sunrpc: sparse warning cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 1 replyIn review
- v17 patches 13 repliesSuperseded
Changes in v2 from the cover letter
- reworked the gss_krb5_seal.c and gss_krb5_wrap.c patches to be less ugly
- squashed the setup_token patch into the gss_krb5_seal.c patch
- dropped patch to make xdr_get_next_encode_buffer static since Trond proposed the same fix
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sunrpc: remove __rcu annotation from struct gss_cl_ctx->gc_gss_ctxinclude/ | +1 | 0 replies | |
| 2/5 | sunrpc: fix RCU handling of gc_ctx fieldnet/ | +35 | 0 replies | |
| 3/5 | sunrpc: clean up sparse endianness warnings in gss_krb5_seal.cnet/ | +17 | 0 replies | |
| 4/5 | sunrpc: clean up sparse endianness warnings in gss_krb5_wrap.cnet/ | +13 | 0 replies | |
| 5/5 | sunrpc: remove "ec" argument from encrypt_v2 operationinclude/ net/ net/ | +5 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] sunrpc: sparse warning cleanups
v2:
- reworked the gss_krb5_seal.c and gss_krb5_wrap.c patches to be less ugly
- squashed the setup_token patch into the gss_krb5_seal.c patch
- dropped patch to make xdr_get_next_encode_buffer static since Trond proposed the same fix
This fixes up all of the sparse warnings that I see when building net/sunrpc. The only real substantive change is the second patch which should fix the RCU handling for the gc_ctx field. That looks quite wrong right now, though it may be that the refcounting and lifecycle of the thing helps paper over it today.
There are still a few warnings that come from generic ipv6.h inlines. I'll send a separate patch to the netdev folks to address those.
Trond, if these look OK then they should probably go via your tree as it looks like you've already merged the gc_acceptor patches and the RCU fixes in patch #2 should apply on top of those.
Jeff Layton (5):
sunrpc: remove __rcu annotation from struct gss_cl_ctx->gc_gss_ctx
sunrpc: fix RCU handling of gc_ctx field
sunrpc: clean up sparse endianness warnings in gss_krb5_seal.c
sunrpc: clean up sparse endianness warnings in gss_krb5_wrap.c
sunrpc: remove "ec" argument from encrypt_v2 operation
include/linux/sunrpc/auth_gss.h | 2 +- include/linux/sunrpc/gss_krb5.h | 4 +-- net/sunrpc/auth_gss/auth_gss.c | 52 +++++++++++++++++++++++------------ net/sunrpc/auth_gss/gss_krb5_crypto.c | 9 ++---- net/sunrpc/auth_gss/gss_krb5_seal.c | 28 +++++++++++-------- net/sunrpc/auth_gss/gss_krb5_wrap.c | 20 +++++++++----- 6 files changed, 70 insertions(+), 45 deletions(-)
Signature · 1 line
1.9.3