summaryrefslogtreecommitdiffstats
path: root/Documentation/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2019-05-27 05:11:32 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-05-29 10:31:52 -0400
commit3e6a515ff4d40b690511a250ceb11a6e1eba4081 (patch)
tree6be6cf94bbb9074c293a9487943ad3f9a91811ae /Documentation/media
parent15b5c5b1dce9bc19a0f00697ce64ecd819cfd109 (diff)
downloadlinux-3e6a515ff4d40b690511a250ceb11a6e1eba4081.tar.gz
linux-3e6a515ff4d40b690511a250ceb11a6e1eba4081.tar.bz2
linux-3e6a515ff4d40b690511a250ceb11a6e1eba4081.zip
media: media-ioc-enum-links.rst: fix incorrect reserved field documentation
The reserved field array for struct media_link_desc has length 2, not 4. And the reserved field array of struct media_links_enum was never documented at all. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Documentation/media')
-rw-r--r--Documentation/media/uapi/mediactl/media-ioc-enum-links.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/media/uapi/mediactl/media-ioc-enum-links.rst b/Documentation/media/uapi/mediactl/media-ioc-enum-links.rst
index a982f16e55a4..b827ebc398f8 100644
--- a/Documentation/media/uapi/mediactl/media-ioc-enum-links.rst
+++ b/Documentation/media/uapi/mediactl/media-ioc-enum-links.rst
@@ -84,6 +84,11 @@ returned during the enumeration process.
- Pointer to a links array allocated by the application. Ignored if
NULL.
+ * - __u32
+ - ``reserved[4]``
+ - Reserved for future extensions. Drivers and applications must set
+ the array to zero.
+
.. c:type:: media_pad_desc
@@ -135,7 +140,7 @@ returned during the enumeration process.
- Link flags, see :ref:`media-link-flag` for more details.
* - __u32
- - ``reserved[4]``
+ - ``reserved[2]``
- Reserved for future extensions. Drivers and applications must set
the array to zero.