Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scripts/kernel-doc.py: Set an output format for --none

Now that warnings output is deferred to the output plugin, we
need to have an output style for none as well.

So, use the OutputFormat base class on such cases.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/caa1089e16f4609f792ff26731ad9e9c3a6f6b1d.1744106242.git.mchehab+huawei@kernel.org

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
43ecfe6b feec6107

+4
+4
scripts/lib/kdoc/kdoc_files.py
··· 20 20 from dateutil import tz 21 21 22 22 from kdoc_parser import KernelDoc 23 + from kdoc_output import OutputFormat 23 24 24 25 25 26 class GlobSourceFiles: ··· 138 137 139 138 if not modulename: 140 139 modulename = "Kernel API" 140 + 141 + if out_style is None: 142 + out_style = OutputFormat() 141 143 142 144 dt = datetime.now() 143 145 if os.environ.get("KBUILD_BUILD_TIMESTAMP", None):