]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - mm/memblock.c
memblock: get rid of a :c:type leftover
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 28 Sep 2020 13:50:33 +0000 (15:50 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 15 Oct 2020 05:49:46 +0000 (07:49 +0200)
commit1bf162e44aac18bd1789c346ffdf12a08ff66a43
treeeeb890b2c28c244a82d4f8ccec5ec062da977269
parentc2a9a645591f11761fdbe3c7f45c0ad32af97eb4
memblock: get rid of a :c:type leftover

chanseset b3a7bb1851c8 ("docs: get rid of :c:type explicit declarations for structs")
removed several :c:type: markups, except by one.

Now, Sphinx 3.x complains about it:

.../Documentation/core-api/boot-time-mm:26: ../mm/memblock.c:51: WARNING: Unparseable C cross-reference: 'struct\nmemblock_type'
Invalid C declaration: Expected identifier in nested name, got keyword: struct [error at 6]
  struct
memblock_type
  ------^

As, on Sphinx 3.x, the right markup is c:struct:`foo`.

So, let's remove it, relying on automarkup.py to convert it.

Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
mm/memblock.c