summaryrefslogtreecommitdiff
path: root/include/uapi/linux/media-bus-format.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-08-26 06:09:31 +0300
committerPaolo Abeni <pabeni@redhat.com>2022-08-30 13:20:43 +0300
commit690252f19f0e486abb8590b3a7a03d4e065d93d4 (patch)
treea656cf7a2cec54ed3ff0ff28df4c9176c0228763 /include/uapi/linux/media-bus-format.h
parent0c95cea24f30eb28d464c593d8fbd64cd305791b (diff)
downloadlinux-690252f19f0e486abb8590b3a7a03d4e065d93d4.tar.xz
netlink: add support for ext_ack missing attributes
There is currently no way to report via extack in a structured way that an attribute is missing. This leads to families resorting to string messages. Add a pair of attributes - @offset and @type for machine-readable way of reporting missing attributes. The @offset points to the nest which should have contained the attribute, @type is the expected nla_type. The offset will be skipped if the attribute is missing at the message level rather than inside a nest. User space should be able to figure out which attribute enum (AKA attribute space AKA attribute set) the nest pointed to by @offset is using. Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/uapi/linux/media-bus-format.h')
0 files changed, 0 insertions, 0 deletions