]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dpll: spec: add missing module-name and clock-id to pin-get reply
authorPetr Oros <poros@redhat.com>
Fri, 24 Oct 2025 18:55:12 +0000 (20:55 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 28 Oct 2025 01:20:36 +0000 (18:20 -0700)
The dpll.yaml spec incorrectly omitted module-name and clock-id from the
pin-get operation reply specification, even though the kernel DPLL
implementation has always included these attributes in pin-get responses
since the initial implementation.

This spec inconsistency caused issues with the C YNL code generator.
The generated dpll_pin_get_rsp structure was missing these fields.

Fix the spec by adding module-name and clock-id to the pin-attrs reply
specification to match the actual kernel behavior.

Fixes: 3badff3a25d8 ("dpll: spec: Add Netlink spec in YAML")
Signed-off-by: Petr Oros <poros@redhat.com>
Reviewed-by: Ivan Vecera <ivecera@redhat.com>
Link: https://patch.msgid.link/20251024185512.363376-1-poros@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/dpll.yaml

index cafb4ec20447e147aa4b33d88cf0ca29bc7e8d05..80728f6f9bc876e98645b67164f281d15280d198 100644 (file)
@@ -605,6 +605,8 @@ operations:
         reply: &pin-attrs
           attributes:
             - id
+            - module-name
+            - clock-id
             - board-label
             - panel-label
             - package-label