Skip to content

Commit eef0eae

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/netlink/specs/tc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ definitions:
232232
type: u8
233233
doc: log(P_max / (qth-max - qth-min))
234234
-
235-
name: Scell_log
235+
name: Scell-log
236236
type: u8
237237
doc: cell size for idle damping
238238
-
@@ -253,7 +253,7 @@ definitions:
253253
name: DPs
254254
type: u32
255255
-
256-
name: def_DP
256+
name: def-DP
257257
type: u32
258258
-
259259
name: grio

0 commit comments

Comments
 (0)