diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-29 12:18:20 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-10-15 08:49:44 +0300 |
commit | 365ff56f08ee4f2b933c13ab4cd950aad1454521 (patch) | |
tree | bbe6a2a67a2b6697d0e9f253e60e31ac7f97e35e /Documentation/dev-tools/gdb-kernel-debugging.rst | |
parent | 64d4151658c14b18905ba0d82cc26ccf6b92a1a1 (diff) | |
download | linux-365ff56f08ee4f2b933c13ab4cd950aad1454521.tar.xz |
docs: kgdb.rst: fix :c:type: usages
Which Sphinx 3, :c:type: can't be used anymore for structs,
as this should be used only for typedefs.
Rely on automarkup.py for struct references.
This file has an special case, though: it uses the tag also
to point to an array. Let's use, instead, :c:expr: for such
purpose, as it should do the right thing.
This should fix this warning:
./Documentation/dev-tools/kgdb.rst:875: WARNING: Unparseable C cross-reference: 'kdb_poll_funcs[]'
Invalid C declaration: Expected end of definition. [error at 14]
kdb_poll_funcs[]
--------------^
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/dev-tools/gdb-kernel-debugging.rst')
0 files changed, 0 insertions, 0 deletions