diff mbox series

pixfmt-yuv-planar.rst: fix PIX_FMT labels

Message ID c0a9a647-5e27-52bd-65a0-b9663014887a@xs4all.nl (mailing list archive)
State New, archived
Headers show
Series pixfmt-yuv-planar.rst: fix PIX_FMT labels | expand

Commit Message

Hans Verkuil March 8, 2022, 8:25 a.m. UTC
Two labels used _ instead of - so were never found and one new PIX_FMT was
missing the label altogether. This led to these warnings:

Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-nv12m-8l128
Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-nv12m-10be-8l128
Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-mm21

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 72a74c8f0a0d ("media: add nv12m_8l128 and nv12m_10be_8l128 video format.")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
---

Comments

Nicolas Dufresne March 8, 2022, 4:26 p.m. UTC | #1
Le mardi 08 mars 2022 à 09:25 +0100, Hans Verkuil a écrit :
> Two labels used _ instead of - so were never found and one new PIX_FMT was
> missing the label altogether. This led to these warnings:
> 
> Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-nv12m-8l128
> Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-nv12m-10be-8l128
> Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-mm21
> 
> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
> Fixes: 72a74c8f0a0d ("media: add nv12m_8l128 and nv12m_10be_8l128 video format.")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
> diff --git a/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst b/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst
> index cc3e4b5791c5..8dff5906639b 100644
> --- a/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst
> +++ b/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst
> @@ -257,8 +257,9 @@ of the luma plane.
>  .. _V4L2-PIX-FMT-NV12-4L4:
>  .. _V4L2-PIX-FMT-NV12-16L16:
>  .. _V4L2-PIX-FMT-NV12-32L32:
> -.. _V4L2_PIX_FMT_NV12M_8L128:
> -.. _V4L2_PIX_FMT_NV12M_10BE_8L128:
> +.. _V4L2-PIX-FMT-NV12M-8L128:
> +.. _V4L2-PIX-FMT-NV12M-10BE-8L128:
> +.. _V4L2-PIX-FMT-MM21:

I had never noticed that - was needed here, good to know.

Acked-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> 

>  
>  Tiled NV12
>  ----------
diff mbox series

Patch

diff --git a/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst b/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst
index cc3e4b5791c5..8dff5906639b 100644
--- a/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst
+++ b/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst
@@ -257,8 +257,9 @@  of the luma plane.
 .. _V4L2-PIX-FMT-NV12-4L4:
 .. _V4L2-PIX-FMT-NV12-16L16:
 .. _V4L2-PIX-FMT-NV12-32L32:
-.. _V4L2_PIX_FMT_NV12M_8L128:
-.. _V4L2_PIX_FMT_NV12M_10BE_8L128:
+.. _V4L2-PIX-FMT-NV12M-8L128:
+.. _V4L2-PIX-FMT-NV12M-10BE-8L128:
+.. _V4L2-PIX-FMT-MM21:
 
 Tiled NV12
 ----------