diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2022-03-26 10:27:23 +0000 |
|---|---|---|
| committer | Jonathan Corbet <[email protected]> | 2022-03-28 19:53:46 +0000 |
| commit | 92b6de17b21cf74448d2397ef92d5ca856c6419f (patch) | |
| tree | d7ea2596b755620fad0a618014c4756043eca496 /Documentation/sphinx/kernel_abi.py | |
| parent | docs: kernel_include.py: add sphinx build dependencies (diff) | |
| download | kernel-92b6de17b21cf74448d2397ef92d5ca856c6419f.tar.gz kernel-92b6de17b21cf74448d2397ef92d5ca856c6419f.zip | |
scripts/get_abi: change the file/line number meta info
In order to make it more standard and ReST compatible,
change the meta-tag used with --enable-lineno from:
#define LINENO
to
.. LINENO
In practice, no functional changes.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Link: https://lore.kernel.org/r/125ffd31fbc77ad9eee4d6906e1830b8162fa6ca.1648290305.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'Documentation/sphinx/kernel_abi.py')
| -rw-r--r-- | Documentation/sphinx/kernel_abi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/sphinx/kernel_abi.py b/Documentation/sphinx/kernel_abi.py index efab9b14a9f5..b5feb5b1d905 100644 --- a/Documentation/sphinx/kernel_abi.py +++ b/Documentation/sphinx/kernel_abi.py @@ -138,7 +138,7 @@ class KernelCmd(Directive): code_block += "\n " + l lines = code_block + "\n\n" - line_regex = re.compile("^#define LINENO (\S+)\#([0-9]+)$") + line_regex = re.compile("^\.\. LINENO (\S+)\#([0-9]+)$") ln = 0 n = 0 f = fname |
