]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netlink: specs: devlink: replace underscores with dashes in names
authorJakub Kicinski <kuba@kernel.org>
Tue, 24 Jun 2025 21:09:57 +0000 (14:09 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 25 Jun 2025 22:36:28 +0000 (15:36 -0700)
commit9407680945145cc34fafd0e9f802b03574620d43
tree994762465be46467055880aec20ae1e58441803e
parent354592f19c7b0ac5983d56d8594a76aa3437f0a6
netlink: specs: devlink: 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: 429ac6211494 ("devlink: define enum for attr types of dynamic attributes")
Fixes: f2f9dd164db0 ("netlink: specs: devlink: add the remaining command to generate complete split_ops")
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250624211002.3475021-6-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/devlink.yaml