Three xdrgen short subjects
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xdrgen: Extend error reporting to AST transformation phasetools/ tools/ tools/ +2 more | +67 | 0 replies | |
| 2/3 | xdrgen: Emit a max_arg_sz macrotools/ tools/ tools/ | +39 | 0 replies | |
| 3/3 | xdrgen: Add enum value validation to generated decodersfs/ fs/ include/ +7 more | +156 | 3 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | NeilBrown |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Three xdrgen short subjects
From: Chuck Lever <[email protected]>
While working on converting lockd to uses xdrgen, I noticed these issues in the xdrgen tool.
Chuck Lever (3):
xdrgen: Extend error reporting to AST transformation phase
xdrgen: Emit a max_arg_sz macro
xdrgen: Add enum value validation to generated decoders
fs/nfsd/nfs4xdr_gen.c | 105 ++++++++++++++---- fs/nfsd/nfs4xdr_gen.h | 2 +- include/linux/sunrpc/xdrgen/nfs4_1.h | 8 +- tools/net/sunrpc/xdrgen/generators/enum.py | 9 +- tools/net/sunrpc/xdrgen/generators/program.py | 35 +++++- .../net/sunrpc/xdrgen/subcmds/declarations.py | 8 +- .../net/sunrpc/xdrgen/subcmds/definitions.py | 10 +- tools/net/sunrpc/xdrgen/subcmds/lint.py | 8 +- tools/net/sunrpc/xdrgen/subcmds/source.py | 11 +- .../xdrgen/templates/C/enum/decoder/enum.j2 | 11 ++ .../templates/C/enum/decoder/enum_be.j2 | 20 ++++ .../templates/C/program/maxsize/max_args.j2 | 3 + tools/net/sunrpc/xdrgen/xdr_ast.py | 6 +- tools/net/sunrpc/xdrgen/xdr_parse.py | 54 ++++++++- tools/net/sunrpc/xdrgen/xdrgen | 6 + 15 files changed, 262 insertions(+), 34 deletions(-) create mode 100644 tools/net/sunrpc/xdrgen/templates/C/program/maxsize/max_args.j2
Signature · 1 line
2.52.0