Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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@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>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20250821135522.2878772-1-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Carlos Llamas and committed by
Greg Kroah-Hartman
73c94172 8a61a53b

+12 -12
+12 -12
Documentation/netlink/specs/binder.yaml
··· 26 26 type: string 27 27 doc: The binder context where the transaction occurred. 28 28 - 29 - name: from_pid 29 + name: from-pid 30 30 type: u32 31 31 doc: The PID of the sender process. 32 32 - 33 - name: from_tid 33 + name: from-tid 34 34 type: u32 35 35 doc: The TID of the sender thread. 36 36 - 37 - name: to_pid 37 + name: to-pid 38 38 type: u32 39 39 doc: | 40 40 The PID of the recipient process. This attribute may not be present 41 41 if the target could not be determined. 42 42 - 43 - name: to_tid 43 + name: to-tid 44 44 type: u32 45 45 doc: | 46 46 The TID of the recipient thread. This attribute may not be present 47 47 if the target could not be determined. 48 48 - 49 - name: is_reply 49 + name: is-reply 50 50 type: flag 51 51 doc: When present, indicates the failed transaction is a reply. 52 52 - ··· 58 58 type: u32 59 59 doc: The application-defined code from the transaction. 60 60 - 61 - name: data_size 61 + name: data-size 62 62 type: u32 63 63 doc: The transaction payload size in bytes. 64 64 ··· 78 78 attributes: 79 79 - error 80 80 - context 81 - - from_pid 82 - - from_tid 83 - - to_pid 84 - - to_tid 85 - - is_reply 81 + - from-pid 82 + - from-tid 83 + - to-pid 84 + - to-tid 85 + - is-reply 86 86 - flags 87 87 - code 88 - - data_size 88 + - data-size 89 89 90 90 mcast-groups: 91 91 list: