]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scripts/kernel-doc.py: fix line number output
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Apr 2025 10:09:17 +0000 (18:09 +0800)
committerJonathan Corbet <corbet@lwn.net>
Wed, 9 Apr 2025 18:10:33 +0000 (12:10 -0600)
commitc3597ab27bc0e5eae23c74a76380000a0f8481e1
tree514ef6d2015a69da45e54ccef0cce4eab6103772
parent0873e55433769210c0ba26227f0080dde408e15e
scripts/kernel-doc.py: fix line number output

With the Pyhton version, the actual output happens after parsing,
from records stored at self.entries.

Ensure that line numbers will be properly stored there and
that they'll produce the desired results at the ReST output.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/5182a531d14b5fe9e1fc5da5f9dae05d66852a60.1744106242.git.mchehab+huawei@kernel.org
scripts/lib/kdoc/kdoc_output.py
scripts/lib/kdoc/kdoc_parser.py