diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2025-12-08 11:15:32 -0500 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2026-01-26 10:10:58 -0500 |
| commit | bf0fe9ad3d597d8e1378dc9953ca96dfc3addb2b (patch) | |
| tree | c716e4517b3b87f54e54d8c7c6bf4b35c154b634 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 9be4b7e74eb7b82ec6d7453a95e9878deab39763 (diff) | |
xdrgen: Fix struct prefix for typedef types in program wrappers
The program templates for decoder/argument.j2 and encoder/result.j2
unconditionally add 'struct' prefix to all types. This is incorrect
when an RPC protocol specification lists a typedef'd basic type or
an enum as a procedure argument or result (e.g., NFSv2's fhandle or
stat), resulting in compiler errors when building generated C code.
Fixes: 4b132aacb076 ("tools: Add xdrgen")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
