aboutsummaryrefslogtreecommitdiff
path: root/Documentation/netlink
diff options
context:
space:
mode:
authorGravatar Donald Hunter <donald.hunter@gmail.com> 2023-05-27 14:31:04 +0100
committerGravatar Jakub Kicinski <kuba@kernel.org> 2023-05-29 22:05:38 -0700
commit6d6bae63053d547e96fe4d2c9c8b4fc595bfc5ac (patch)
treed5f7b4ef9bb58e3730e0e6919fa66248a9b54783 /Documentation/netlink
parentdevlink: Spelling corrections (diff)
downloadlinux-6d6bae63053d547e96fe4d2c9c8b4fc595bfc5ac.tar.gz
linux-6d6bae63053d547e96fe4d2c9c8b4fc595bfc5ac.tar.bz2
linux-6d6bae63053d547e96fe4d2c9c8b4fc595bfc5ac.zip
doc: ynl: Add doc attr to struct members in genetlink-legacy spec
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>
Diffstat (limited to 'Documentation/netlink')
-rw-r--r--Documentation/netlink/genetlink-legacy.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/netlink/genetlink-legacy.yaml b/Documentation/netlink/genetlink-legacy.yaml
index b5319cde9e17..d8f132114308 100644
--- 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: