public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] docs: kernel-doc: doesn't suppress error/warnings
@ 2025-05-20  5:47 Mauro Carvalho Chehab
  2025-05-20  5:47 ` [PATCH 1/1] docs: kerneldoc.py: don't use Sphinx logger Mauro Carvalho Chehab
  0 siblings, 1 reply; 8+ messages in thread
From: Mauro Carvalho Chehab @ 2025-05-20  5:47 UTC (permalink / raw)
  To: Jonathan Corbet
  Cc: Mauro Carvalho Chehab, Akira Yokosawa, linux-doc, Masahiro Yamada,
	Nathan Chancellor, Nicolas Schier, Andy Shevchenko,
	Stephen Rothwell, Randy Dunlap, linux-kbuild, linux-kernel

As discussed at:
   https://lore.kernel.org/all/20250516200350.63be46cd@canb.auug.org.au/

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(-)

-- 
2.49.0



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-05-20 13:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-20  5:47 [PATCH 0/1] docs: kernel-doc: doesn't suppress error/warnings Mauro Carvalho Chehab
2025-05-20  5:47 ` [PATCH 1/1] docs: kerneldoc.py: don't use Sphinx logger Mauro Carvalho Chehab
2025-05-20  5:55   ` Randy Dunlap
2025-05-20  7:50     ` Mauro Carvalho Chehab
2025-05-20  8:23       ` Akira Yokosawa
2025-05-20  9:19         ` Mauro Carvalho Chehab
2025-05-20 11:39           ` Stephen Rothwell
2025-05-20 13:09             ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox