[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176356568185.9271.3824647645038642441.b4-ty@oracle.com>
Date: Wed, 19 Nov 2025 10:21:31 -0500
From: Chuck Lever <cel@...nel.org>
To: jlayton@...nel.org,
Khushal Chitturi <kc9282016@...il.com>
Cc: Chuck Lever <chuck.lever@...cle.com>,
neil@...wn.name,
okorniev@...hat.com,
Dai.Ngo@...cle.com,
tom@...pey.com,
linux-nfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xdrgen: improve error reporting for invalid void declarations
From: Chuck Lever <chuck.lever@...cle.com>
On Wed, 19 Nov 2025 01:22:58 +0530, Khushal Chitturi wrote:
> RFC 4506 defines void as a zero-length type that may appear only as
> union arms or as program argument/result types. It cannot be declared
> with an identifier, so constructs like "typedef void temp;" are not
> valid XDR.
>
> Previously, xdrgen raised a NotImplementedError when it encountered a
> void declaration in a typedef. Which was misleading, as the problem is an
> invalid RPC specification rather than missing functionality in xdrgen.
>
> [...]
Applied to nfsd-testing, thanks!
[1/1] xdrgen: improve error reporting for invalid void declarations
commit: d0e9690abe3cd818dcf2c9ea5c04f79221789429
--
Chuck Lever
Powered by blists - more mailing lists