diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2025-02-10 13:18:04 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2025-02-10 21:19:57 +0300 |
commit | ee34f8300c8940758dc69f80107d9f5873c08f17 (patch) | |
tree | 0be3aa63827ac2f17b9929b382a186ba8cbe5e57 /scripts/lib/abi/abi_parser.py | |
parent | 9bec7870c64c00983773cfddab8d6a037f7767f3 (diff) | |
download | linux-ee34f8300c8940758dc69f80107d9f5873c08f17.tar.xz |
docs: sphinx/kernel_abi: use AbiParser directly
Instead of running get_abi.py script, import AbiParser class and
handle messages directly there using an interactor. This shold save some
memory, as there's no need to exec python inside the Sphinx python
extension.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/8dbc244dcda97112c1b694e2512a5d600e62873b.1739182025.git.mchehab+huawei@kernel.org
Diffstat (limited to 'scripts/lib/abi/abi_parser.py')
-rw-r--r-- | scripts/lib/abi/abi_parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/abi/abi_parser.py b/scripts/lib/abi/abi_parser.py index 960e27161c26..57c125fd40a5 100644 --- a/scripts/lib/abi/abi_parser.py +++ b/scripts/lib/abi/abi_parser.py @@ -427,7 +427,7 @@ class AbiParser: return new_desc + "\n\n" - def doc(self, enable_lineno, output_in_txt, show_file=False): + def doc(self, enable_lineno, output_in_txt=False, show_file=False): """Print ABI at stdout""" part = None |