Skip to content

xdrgen fixes

Chuck Lever linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xdrgen: Handle a union whose arms are all voidtools/net/sunrpc/xdrgen/xdr_ast.py+1 -00 replies
2/4xdrgen: Key the width tables by type name onlyinclude/linux/sunrpc/xdrgen/nfs3.h include/linux/sunrpc/xdrgen/nfs_acl2.h tools/net/sunrpc/xdrgen/xdr_ast.py+8 -340 replies
3/4xdrgen: Register optional-data names only for typedefstools/net/sunrpc/xdrgen/xdr_ast.py+3 -40 replies
4/4xdrgen: Take a union's numeric discriminant width from the declarationtools/net/sunrpc/xdrgen/xdr_ast.py+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/4] xdrgen fixes

Four fixes I found while converting NFSD's NFS_ACLv3 XDR encoders and decoders to use xdrgen.

Chuck Lever (4):
xdrgen: Handle a union whose arms are all void
xdrgen: Key the width tables by type name only
xdrgen: Register optional-data names only for typedefs
xdrgen: Take a union's numeric discriminant width from the declaration

 include/linux/sunrpc/xdrgen/nfs3.h     |  8 ++---
 include/linux/sunrpc/xdrgen/nfs_acl2.h |  2 +-
 tools/net/sunrpc/xdrgen/xdr_ast.py     | 42 +++++---------------------
 3 files changed, 13 insertions(+), 39 deletions(-)
Signature · 1 line
2.56.0