[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4f3d4e3e1f8ff8b6d4d2c74cc9d6cabbccafade9.camel@kernel.org>
Date: Wed, 25 Jun 2025 07:35:23 -0400
From: Jeff Layton <jlayton@...nel.org>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net,
donald.hunter@...il.com
Cc: netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com,
andrew+netdev@...n.ch, horms@...nel.org, chuck.lever@...cle.com,
lorenzo@...nel.org
Subject: Re: [PATCH net 01/10] netlink: specs: nfsd: replace underscores
with dashes in names
On Tue, 2025-06-24 at 14:09 -0700, Jakub Kicinski wrote:
> We're trying to add a strict regexp for the name format in the spec.
> Underscores will not be allowed, dashes should be used instead.
> This makes no difference to C (codegen, if used, replaces special
> chars in names) but it gives more uniform naming in Python.
>
> Fixes: 13727f85b49b ("NFSD: introduce netlink stubs")
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
> CC: donald.hunter@...il.com
> CC: chuck.lever@...cle.com
> CC: jlayton@...nel.org
> CC: lorenzo@...nel.org
> ---
> Documentation/netlink/specs/nfsd.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/netlink/specs/nfsd.yaml b/Documentation/netlink/specs/nfsd.yaml
> index c87658114852..8d1a3c01708f 100644
> --- a/Documentation/netlink/specs/nfsd.yaml
> +++ b/Documentation/netlink/specs/nfsd.yaml
> @@ -27,7 +27,7 @@ doc: NFSD configuration over generic netlink.
> name: proc
> type: u32
> -
> - name: service_time
> + name: service-time
> type: s64
> -
> name: pad
> @@ -139,7 +139,7 @@ doc: NFSD configuration over generic netlink.
> - prog
> - version
> - proc
> - - service_time
> + - service-time
> - saddr4
> - daddr4
> - saddr6
Reviewed-by: Jeff Layton <jlayton@...nel.org>
Powered by blists - more mailing lists