[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250821135522.2878772-1-cmllamas@google.com>
Date: Thu, 21 Aug 2025 13:55:21 +0000
From: Carlos Llamas <cmllamas@...gle.com>
To: Alice Ryhl <aliceryhl@...gle.com>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Arve Hjønnevåg" <arve@...roid.com>, Todd Kjos <tkjos@...roid.com>, Martijn Coenen <maco@...roid.com>,
Joel Fernandes <joelagnelf@...dia.com>, Christian Brauner <brauner@...nel.org>,
Carlos Llamas <cmllamas@...gle.com>, Suren Baghdasaryan <surenb@...gle.com>,
Donald Hunter <donald.hunter@...il.com>, Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>, Li Li <dualli@...gle.com>
Cc: Tiffany Yang <ynaffit@...gle.com>, John Stultz <jstultz@...gle.com>, kernel-team@...roid.com,
linux-kernel@...r.kernel.org, Thorsten Leemhuis <linux@...mhuis.info>,
"open list:NETWORKING [GENERAL]" <netdev@...r.kernel.org>
Subject: [PATCH] netlink: specs: binder: replace underscores with dashes in names
The usage of underscores is no longer allowed for the 'name' format in
the yaml spec. Instead, dashes should be used. This fixes the build
issue reported by Thorsten that showed up on linux-next.
Note this change has no impact on C code.
Cc: Jakub Kicinski <kuba@...nel.org>
Reported-by: Thorsten Leemhuis <linux@...mhuis.info>
Closes: https://lore.kernel.org/all/e21744a4-0155-40ec-b8c1-d81b14107c9f@leemhuis.info/
Fixes: 63740349eba7 ("binder: introduce transaction reports via netlink")
Signed-off-by: Carlos Llamas <cmllamas@...gle.com>
---
Documentation/netlink/specs/binder.yaml | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/Documentation/netlink/specs/binder.yaml b/Documentation/netlink/specs/binder.yaml
index 140b77a6afee..0f0575ad1265 100644
--- a/Documentation/netlink/specs/binder.yaml
+++ b/Documentation/netlink/specs/binder.yaml
@@ -26,27 +26,27 @@ attribute-sets:
type: string
doc: The binder context where the transaction occurred.
-
- name: from_pid
+ name: from-pid
type: u32
doc: The PID of the sender process.
-
- name: from_tid
+ name: from-tid
type: u32
doc: The TID of the sender thread.
-
- name: to_pid
+ name: to-pid
type: u32
doc: |
The PID of the recipient process. This attribute may not be present
if the target could not be determined.
-
- name: to_tid
+ name: to-tid
type: u32
doc: |
The TID of the recipient thread. This attribute may not be present
if the target could not be determined.
-
- name: is_reply
+ name: is-reply
type: flag
doc: When present, indicates the failed transaction is a reply.
-
@@ -58,7 +58,7 @@ attribute-sets:
type: u32
doc: The application-defined code from the transaction.
-
- name: data_size
+ name: data-size
type: u32
doc: The transaction payload size in bytes.
@@ -78,14 +78,14 @@ operations:
attributes:
- error
- context
- - from_pid
- - from_tid
- - to_pid
- - to_tid
- - is_reply
+ - from-pid
+ - from-tid
+ - to-pid
+ - to-tid
+ - is-reply
- flags
- code
- - data_size
+ - data-size
mcast-groups:
list:
--
2.51.0.rc1.193.gad69d77794-goog
Powered by blists - more mailing lists