diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2025-04-08 10:09:34 +0000 |
|---|---|---|
| committer | Jonathan Corbet <[email protected]> | 2025-04-09 18:10:34 +0000 |
| commit | 16740c29dbf3275a22691d3d7c63701992872898 (patch) | |
| tree | 4f259e1ed3843f6c8e8994ae351c12f86a70d513 /scripts/kernel-doc.py | |
| parent | scripts/lib/kdoc/kdoc_files.py: allow filtering output per fname (diff) | |
| download | kernel-16740c29dbf3275a22691d3d7c63701992872898.tar.gz kernel-16740c29dbf3275a22691d3d7c63701992872898.zip | |
scripts/kernel_doc.py: better handle exported symbols
Change the logic which detects internal/external symbols in a way
that we can re-use it when calling via Sphinx extension.
While here, remove an unused self.config var and let it clearer
that self.config variables are read-only. This helps to allow
handling multiple times in parallel if ever needed.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Link: https://lore.kernel.org/r/6a69ba8d2b7ee6a6427abb53e60d09bd4d3565ee.1744106242.git.mchehab+huawei@kernel.org
Diffstat (limited to 'scripts/kernel-doc.py')
| -rwxr-xr-x | scripts/kernel-doc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc.py b/scripts/kernel-doc.py index 2f2fad813024..12ae66f40bd7 100755 --- a/scripts/kernel-doc.py +++ b/scripts/kernel-doc.py @@ -287,7 +287,7 @@ def main(): for t in kfiles.msg(enable_lineno=args.enable_lineno, export=args.export, internal=args.internal, symbol=args.symbol, - nosymbol=args.nosymbol, + nosymbol=args.nosymbol, export_file=args.export_file, no_doc_sections=args.no_doc_sections): msg = t[1] if msg: |
