Skip to content

Commit 2434ccb

Browse files
committed
netlink: specs: nfsd: replace underscores with dashes in names
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: 13727f8 ("NFSD: introduce netlink stubs") Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Link: https://patch.msgid.link/20250624211002.3475021-2-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 7b515f3 commit 2434ccb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/netlink/specs/nfsd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ attribute-sets:
2727
name: proc
2828
type: u32
2929
-
30-
name: service_time
30+
name: service-time
3131
type: s64
3232
-
3333
name: pad
@@ -139,7 +139,7 @@ operations:
139139
- prog
140140
- version
141141
- proc
142-
- service_time
142+
- service-time
143143
- saddr4
144144
- daddr4
145145
- saddr6

0 commit comments

Comments
 (0)