OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45402f0
)
doc: ynl: Add doc attr to struct members in genetlink-legacy spec
author
Donald Hunter
<donald.hunter@gmail.com>
Sat, 27 May 2023 13:31:04 +0000
(14:31 +0100)
committer
Jakub Kicinski
<kuba@kernel.org>
Tue, 30 May 2023 05:05:38 +0000
(22:05 -0700)
Make it possible to document the meaning of struct member attributes in
genetlink-legacy specs.
Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/genetlink-legacy.yaml
patch
|
blob
|
history
diff --git
a/Documentation/netlink/genetlink-legacy.yaml
b/Documentation/netlink/genetlink-legacy.yaml
index
b5319cd
..
d8f1321
100644
(file)
--- a/
Documentation/netlink/genetlink-legacy.yaml
+++ b/
Documentation/netlink/genetlink-legacy.yaml
@@
-124,6
+124,9
@@
properties:
$ref: '#/$defs/len-or-define'
byte-order:
enum: [ little-endian, big-endian ]
+ doc:
+ description: Documentation for the struct member attribute.
+ type: string
# End genetlink-legacy
attribute-sets: