2020-09-17 07:25:11

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: [PATCH] media: uAPI: buffer.rst: remove a left-over documentation

Changeset 129134e5415d ("media: media/v4l2: remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag")
reverted an uAPI flag, but it kept some left-overs at the documentation.

Drop them too. This should solve this warning:

Documentation/userspace-api/media/v4l/buffer.rst:692: WARNING: The "flat-table" directive is empty; content required.

.. flat-table::
:header-rows: 0
:stub-columns: 0
:widths: 3 1 4

Fixes: 129134e5415d ("media: media/v4l2: remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag")
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
Documentation/userspace-api/media/v4l/buffer.rst | 14 --------------
1 file changed, 14 deletions(-)

diff --git a/Documentation/userspace-api/media/v4l/buffer.rst b/Documentation/userspace-api/media/v4l/buffer.rst
index 4f95496adc5b..da7366e0e317 100644
--- a/Documentation/userspace-api/media/v4l/buffer.rst
+++ b/Documentation/userspace-api/media/v4l/buffer.rst
@@ -682,20 +682,6 @@ Buffer Flags

.. _memory-flags:

-Memory Consistency Flags
-========================
-
-.. tabularcolumns:: |p{7.0cm}|p{2.2cm}|p{8.3cm}|
-
-.. cssclass:: longtable
-
-.. flat-table::
- :header-rows: 0
- :stub-columns: 0
- :widths: 3 1 4
-
-.. c:type:: v4l2_memory
-
enum v4l2_memory
================

--
2.26.2


2020-09-18 10:46:01

by Sergey Senozhatsky

[permalink] [raw]
Subject: Re: [PATCH] media: uAPI: buffer.rst: remove a left-over documentation

On (20/09/17 09:21), Mauro Carvalho Chehab wrote:
> Changeset 129134e5415d ("media: media/v4l2: remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag")
> reverted an uAPI flag, but it kept some left-overs at the documentation.
>
> Drop them too. This should solve this warning:
>
> Documentation/userspace-api/media/v4l/buffer.rst:692: WARNING: The "flat-table" directive is empty; content required.
>
> .. flat-table::
> :header-rows: 0
> :stub-columns: 0
> :widths: 3 1 4
>
> Fixes: 129134e5415d ("media: media/v4l2: remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag")
> Signed-off-by: Mauro Carvalho Chehab <[email protected]>

Thanks for fixing this up.

FWIW,
Reviewed-by: Sergey Senozhatsky <[email protected]>

-ss