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 <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 7b515f3 commit 2434ccb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)