Skip to contentSkip to conversation

media: docs: Remove extraneous \endgroup from P010 table

PATCH In review Akira Yokosawa 1 participant 2 messages Jun 29, 2022 – Jul 7, 2022 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: docs: Remove extraneous \endgroup from P010 table

The \endgroup command at the bottom of a table added in commit 5374d8fb75f3 ("media: Add P010 video format") doesn't have a corresponding \begingroup command preceding it.

This imbalance causes an build error in "make pdfdocs".

Fix the issue by removing it.

Fixes 5374d8fb75f3 ("media: Add P010 video format")
Cc Benjamin Gaignard <[email protected]>
Cc Nicolas Dufresne <[email protected]>
Cc Hans Verkuil <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>

---
Hi Mauro,

In my (bi-weekly) test of "make pdfdocs" against next-20220629, I encountered a build error of userspace-api.tex.

This patch fixes it.

This is relative to 'master' of git://linuxtv.org/media_tree.git
as merged by Stephen.

Thanks, Akira
--

 Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst | 3 ---
 1 file changed, 3 deletions(-)
Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst +0 -3
index a900ff66911a..997ce2d094fc 100644
@@ -570,9 +570,6 @@ Data in the 10 high bits, zeros in the 6 low bits, arranged in little endian ord
       - Cb\ :sub:`11`
       - Cr\ :sub:`11`
 
-.. raw:: latex
-
-    \endgroup
 
 Fully Planar YUV Formats
 ========================

base-commit: 945a9a8e448b65bec055d37eba58f711b39f66f0

Signature · 1 line
2.25.1
#1 lore raw
Quoted 17 lines · Akira Yokosawa

The \endgroup command at the bottom of a table added in commit 5374d8fb75f3 ("media: Add P010 video format") doesn't have a corresponding \begingroup command preceding it.

This imbalance causes an build error in "make pdfdocs".

Fix the issue by removing it.

Fixes 5374d8fb75f3 ("media: Add P010 video format")
Cc Benjamin Gaignard <[email protected]>
Cc Nicolas Dufresne <[email protected]>
Cc Hans Verkuil <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>

---
Hi Mauro,

Quoted 7 lines

In my (bi-weekly) test of "make pdfdocs" against next-20220629, I encountered a build error of userspace-api.tex.

This patch fixes it.

This is relative to 'master' of git://linuxtv.org/media_tree.git
as merged by Stephen.

Gentle ping, Mauro.

I assume the offending patch is destined for the next merge window. If it lands as is, "make pdfdocs" will end up in:

Quoted 10 lines

Latexmk: Errors, so I did not complete making targets

Collected error summary (may duplicate other messages):

xelatex: Command for 'xelatex' gave return code 1

Refer to 'userspace-api.log' for details

Latexmk: Use the -f option to force complete processing,

Quoted 7 lines

unless error was exceeding maximum runs, or warnings treated as errors.

make[2]: *** [Makefile:29: userspace-api.pdf] Error 12

make[1]: *** [Documentation/Makefile:115: pdfdocs] Error 2

make: *** [Makefile:1686: pdfdocs] Error 2

Here is the relevant part from the middle of userspace-api.log:

Quoted 4 lines

! Extra \endgroup.
l.27734 \endgroup

Things are pretty mixed up, but I think the worst is over.

Or am I missing something?

Thanks, Akira

Quoted 22 lines

Thanks, Akira
--

 Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst | 3 ---
 1 file changed, 3 deletions(-)
Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst +0 -3
index a900ff66911a..997ce2d094fc 100644
@@ -570,9 +570,6 @@ Data in the 10 high bits, zeros in the 6 low bits, arranged in little endian ord
       - Cb\ :sub:`11`
       - Cr\ :sub:`11`
 
-.. raw:: latex
-
-    \endgroup
 
 Fully Planar YUV Formats
 ========================

base-commit: 945a9a8e448b65bec055d37eba58f711b39f66f0