Skip to content

Commit 8d7e211

Browse files
committed
netlink: specs: rt-link: 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: b2f63d9 ("doc/netlink: Add spec for rt link messages") Reviewed-by: Jacob Keller <[email protected]> Reviewed-by: Donald Hunter <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 9e6dd4c commit 8d7e211

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/netlink/specs/rt-link.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ definitions:
603603
name: optmask
604604
type: u32
605605
-
606-
name: if_stats_msg
606+
name: if-stats-msg
607607
type: struct
608608
members:
609609
-
@@ -2486,7 +2486,7 @@ operations:
24862486
name: getstats
24872487
doc: Get / dump link stats.
24882488
attribute-set: stats-attrs
2489-
fixed-header: if_stats_msg
2489+
fixed-header: if-stats-msg
24902490
do:
24912491
request:
24922492
value: 94

0 commit comments

Comments
 (0)