Skip to content

docs: kernel-doc: doesn't suppress error/warnings

Mauro Carvalho Chehab linux-doc linux-kbuild lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1docs: kerneldoc.py: don't use Sphinx loggerDocumentation/sphinx/kerneldoc.py+5 -16 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] docs: kernel-doc: doesn't suppress error/warnings

As discussed at:
https://lore.kernel.org/all/[email protected]/

Sphinx logger is set in a way that errors/warnings from kernel-doc are suppressed, except when V=1.

Finding the root cause is not trivial, as we need to go into the Sphinx overlays on the top of Python's default logger class. Instead, let's take the trivial approach: use logger class directly. As we can later revisit such decision, let's add a comment at the code.

Mauro Carvalho Chehab (1):
docs: kerneldoc.py: don't use Sphinx logger

 Documentation/sphinx/kerneldoc.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
2.49.0