summaryrefslogtreecommitdiffstats
path: root/tools/docs/kernel-doc
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2026-03-06 16:45:47 +0100
committerJonathan Corbet <corbet@lwn.net>2026-03-09 10:34:38 -0600
commite4dadcf510da846f32aaaad5d5988890cbf6033d (patch)
tree5eb193a154b591ddaadf0773186ee9cd885e9e75 /tools/docs/kernel-doc
parent26b4fdefc0f96b1e2e25e0482de1476d037ad325 (diff)
downloadlinux-e4dadcf510da846f32aaaad5d5988890cbf6033d.tar.gz
linux-e4dadcf510da846f32aaaad5d5988890cbf6033d.zip
docs: kdoc_output: pick a better default for modulename
Instead of placing the same data for modulename for all generated man pages, use the directory from the filename used to produce kernel docs as basis. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <8a5d91c93c0b9b34c2f60e389f4464742804d0d6.1772810752.git.mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/docs/kernel-doc')
-rwxr-xr-xtools/docs/kernel-doc1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/docs/kernel-doc b/tools/docs/kernel-doc
index aed09f9a54dd..3a932f95bdf5 100755
--- a/tools/docs/kernel-doc
+++ b/tools/docs/kernel-doc
@@ -210,7 +210,6 @@ def main():
help="Enable debug messages")
parser.add_argument("-M", "-modulename", "--modulename",
- default="Kernel API",
help="Allow setting a module name at the output.")
parser.add_argument("-l", "-enable-lineno", "--enable_lineno",