aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/netlink
diff options
context:
space:
mode:
authorDonald Hunter <donald.hunter@gmail.com>2023-05-27 14:31:04 +0100
committerJakub Kicinski <kuba@kernel.org>2023-05-29 22:05:38 -0700
commit6d6bae63053d547e96fe4d2c9c8b4fc595bfc5ac (patch)
treed5f7b4ef9bb58e3730e0e6919fa66248a9b54783 /Documentation/netlink
parent45402f04c5821a0c42c5d8b17e4abad504e598bb (diff)
downloadlinux-6d6bae63053d547e96fe4d2c9c8b4fc595bfc5ac.tar.gz
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 b5319cde9e1717..d8f13211430860 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: