[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6b81b1aaa8446b4d850064dd38ffffa1a1cb6254.1747719873.git.mchehab+huawei@kernel.org>
Date: Tue, 20 May 2025 07:47:45 +0200
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Jonathan Corbet <corbet@....net>
Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
"Akira Yokosawa" <akiyks@...il.com>,
"Andy Shevchenko" <andriy.shevchenko@...ux.intel.com>,
"Masahiro Yamada" <mchehab+huawei@...nel.org>,
"Nathan Chancellor" <mchehab+huawei@...nel.org>,
"Nicolas Schier" <nicolas.schier@...ux.dev>,
"Randy Dunlap" <rdunlap@...radead.org>,
"Stephen Rothwell" <sfr@...b.auug.org.au>,
Kees Cook <mchehab+huawei@...nel.org>,
linux-doc@...r.kernel.org,
linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/1] docs: kerneldoc.py: don't use Sphinx logger
Unfortunately, currently Sphinx logger is suppressing too much, not
allowing warnings to be displayed. Disable it.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
---
Documentation/sphinx/kerneldoc.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/sphinx/kerneldoc.py b/Documentation/sphinx/kerneldoc.py
index b713a2c4a615..314479718a01 100644
--- a/Documentation/sphinx/kerneldoc.py
+++ b/Documentation/sphinx/kerneldoc.py
@@ -311,7 +311,11 @@ def setup_kfiles(app):
if kerneldoc_bin and kerneldoc_bin.endswith("kernel-doc.py"):
print("Using Python kernel-doc")
out_style = RestFormat()
- kfiles = KernelFiles(out_style=out_style, logger=logger)
+
+ # Ideally, we should be using Sphinx logger here, but its filtering
+ # rules ending filtering out warnings and errors. So, let's use
+ # Python default logger instead.
+ kfiles = KernelFiles(out_style=out_style)
else:
print(f"Using {kerneldoc_bin}")
--
2.49.0
Powered by blists - more mailing lists