From: Chuck Lever <cel@kernel.org>
To: NeilBrown <neil@brown.name>, Jeff Layton <jlayton@kernel.org>,
Olga Kornievskaia <okorniev@redhat.com>,
Dai Ngo <dai.ngo@oracle.com>, Tom Talpey <tom@talpey.com>
Cc: <linux-nfs@vger.kernel.org>
Subject: [PATCH 0/5] Minor fixes for xdrgen
Date: Sun, 12 Jul 2026 15:31:17 -0400 [thread overview]
Message-ID: <20260712193122.116845-1-cel@kernel.org> (raw)
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(-)
--
2.54.0
next reply other threads:[~2026-07-12 19:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-12 19:31 Chuck Lever [this message]
2026-07-12 19:31 ` [PATCH 1/5] xdrgen: Emit a blank line ahead of enum declarations Chuck Lever
2026-07-12 19:31 ` [PATCH 2/5] xdrgen: Share void RPC procedure handlers across programs Chuck Lever
2026-07-12 19:31 ` [PATCH 3/5] xdrgen: Do not declare union XDR functions in the definitions header Chuck Lever
2026-07-12 19:31 ` [PATCH 4/5] xdrgen: Add XDR width macros for short integer types Chuck Lever
2026-07-12 19:31 ` [PATCH 5/5] xdrgen: Fix opaque and string encoders for unbounded members Chuck Lever
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260712193122.116845-1-cel@kernel.org \
--to=cel@kernel.org \
--cc=dai.ngo@oracle.com \
--cc=jlayton@kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=neil@brown.name \
--cc=okorniev@redhat.com \
--cc=tom@talpey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.