Minor fixes for xdrgen
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | xdrgen: Emit a blank line ahead of enum declarationsfs/ fs/ fs/ +7 more | +13 | 0 replies | |
| 2/5 | xdrgen: Share void RPC procedure handlers across programsfs/ fs/ fs/ +7 more | +80 | 0 replies | |
| 3/5 | xdrgen: Do not declare union XDR functions in the definitions headertools/ | +0 | 0 replies | |
| 4/5 | xdrgen: Add XDR width macros for short integer typesinclude/ | +2 | 0 replies | |
| 5/5 | xdrgen: Fix opaque and string encoders for unbounded memberstools/ tools/ tools/ +1 more | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Minor fixes for xdrgen
While working on server-side xdrgen conversion for NFSv2 and NFSv3, I found several unrelated minor issues with the xdrgen tool. They are collected here in this series.
Chuck Lever (5):
xdrgen: Emit a blank line ahead of enum declarations
xdrgen: Share void RPC procedure handlers across programs
xdrgen: Do not declare union XDR functions in the definitions header
xdrgen: Add XDR width macros for short integer types
xdrgen: Fix opaque and string encoders for unbounded members
fs/lockd/nlm3xdr_gen.c | 30 +------------- fs/lockd/nlm3xdr_gen.h | 4 +- fs/lockd/nlm4xdr_gen.c | 30 +------------- fs/lockd/nlm4xdr_gen.h | 4 +- fs/lockd/svc4proc.c | 40 +++++++++---------- fs/lockd/svcproc.c | 40 +++++++++---------- fs/nfsd/nfs4xdr_gen.c | 2 +- fs/nfsd/nfs4xdr_gen.h | 5 ++- include/linux/sunrpc/xdrgen/_builtins.h | 32 +++++++++++++++ include/linux/sunrpc/xdrgen/_defs.h | 2 + include/linux/sunrpc/xdrgen/nfs4_1.h | 2 +- include/linux/sunrpc/xdrgen/nlm3.h | 2 +- include/linux/sunrpc/xdrgen/nlm4.h | 2 +- tools/net/sunrpc/xdrgen/generators/program.py | 8 ++++ .../templates/C/enum/declaration/enum.j2 | 1 + .../templates/C/pointer/encoder/string.j2 | 2 + .../pointer/encoder/variable_length_opaque.j2 | 2 + .../templates/C/program/decoder/argument.j2 | 4 -- .../templates/C/program/encoder/result.j2 | 4 -- .../templates/C/struct/encoder/string.j2 | 2 + .../struct/encoder/variable_length_opaque.j2 | 2 + .../templates/C/union/definition/close.j2 | 6 --- 22 files changed, 103 insertions(+), 123 deletions(-)
Signature · 1 line
2.54.0