* [PATCH] netlink: specs: binder: replace underscores with dashes in names
@ 2025-08-21 13:55 Carlos Llamas
2025-08-21 14:37 ` Jakub Kicinski
0 siblings, 1 reply; 3+ messages in thread
From: Carlos Llamas @ 2025-08-21 13:55 UTC (permalink / raw)
To: Alice Ryhl, Greg Kroah-Hartman, Arve Hjønnevåg,
Todd Kjos, Martijn Coenen, Joel Fernandes, Christian Brauner,
Carlos Llamas, Suren Baghdasaryan, Donald Hunter, Jakub Kicinski,
David S. Miller, Eric Dumazet, Paolo Abeni, Simon Horman, Li Li
Cc: Tiffany Yang, John Stultz, kernel-team, linux-kernel,
Thorsten Leemhuis, open list:NETWORKING [GENERAL]
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@kernel.org>
Reported-by: Thorsten Leemhuis <linux@leemhuis.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@google.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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] netlink: specs: binder: replace underscores with dashes in names
2025-08-21 13:55 [PATCH] netlink: specs: binder: replace underscores with dashes in names Carlos Llamas
@ 2025-08-21 14:37 ` Jakub Kicinski
2025-08-21 14:49 ` Greg Kroah-Hartman
0 siblings, 1 reply; 3+ messages in thread
From: Jakub Kicinski @ 2025-08-21 14:37 UTC (permalink / raw)
To: Carlos Llamas
Cc: Alice Ryhl, Greg Kroah-Hartman, Arve Hjønnevåg,
Todd Kjos, Martijn Coenen, Joel Fernandes, Christian Brauner,
Suren Baghdasaryan, Donald Hunter, David S. Miller, Eric Dumazet,
Paolo Abeni, Simon Horman, Li Li, Tiffany Yang, John Stultz,
kernel-team, linux-kernel, Thorsten Leemhuis,
open list:NETWORKING [GENERAL]
On Thu, 21 Aug 2025 13:55:21 +0000 Carlos Llamas wrote:
> 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.
I guess the tree where the patches landed doesn't have last merge window
material? I thought the extra consistency checks went in for 6.17
already.. In any case, change makes sense:
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] netlink: specs: binder: replace underscores with dashes in names
2025-08-21 14:37 ` Jakub Kicinski
@ 2025-08-21 14:49 ` Greg Kroah-Hartman
0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2025-08-21 14:49 UTC (permalink / raw)
To: Jakub Kicinski
Cc: Carlos Llamas, Alice Ryhl, Arve Hjønnevåg, Todd Kjos,
Martijn Coenen, Joel Fernandes, Christian Brauner,
Suren Baghdasaryan, Donald Hunter, David S. Miller, Eric Dumazet,
Paolo Abeni, Simon Horman, Li Li, Tiffany Yang, John Stultz,
kernel-team, linux-kernel, Thorsten Leemhuis,
open list:NETWORKING [GENERAL]
On Thu, Aug 21, 2025 at 07:37:43AM -0700, Jakub Kicinski wrote:
> On Thu, 21 Aug 2025 13:55:21 +0000 Carlos Llamas wrote:
> > 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.
>
> I guess the tree where the patches landed doesn't have last merge window
> material? I thought the extra consistency checks went in for 6.17
> already.. In any case, change makes sense:
They don't seem to be in 6.17-rc3, what commit are you thinking this
was? Ugh, my fault, nevermind, I was testing the wrong branch in the
wrong git tree!
I see this in my tree now, sorry everyone for the noise in not figuring
this out, too many trees/branches...
> Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Thanks, I'll take this in the char-misc-next branch now.
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-08-21 14:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-21 13:55 [PATCH] netlink: specs: binder: replace underscores with dashes in names Carlos Llamas
2025-08-21 14:37 ` Jakub Kicinski
2025-08-21 14:49 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).