diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-28 15:50:33 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-10-15 07:49:46 +0200 |
commit | 1bf162e44aac18bd1789c346ffdf12a08ff66a43 (patch) | |
tree | eeb890b2c28c244a82d4f8ccec5ec062da977269 /mm/memblock.c | |
parent | c2a9a645591f11761fdbe3c7f45c0ad32af97eb4 (diff) | |
download | linux-1bf162e44aac18bd1789c346ffdf12a08ff66a43.tar.gz linux-1bf162e44aac18bd1789c346ffdf12a08ff66a43.tar.bz2 linux-1bf162e44aac18bd1789c346ffdf12a08ff66a43.zip |
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>
Diffstat (limited to 'mm/memblock.c')
-rw-r--r-- | mm/memblock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memblock.c b/mm/memblock.c index d84790cb7ac3..b68ee86788af 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -50,8 +50,8 @@ * * Each region is represented by struct memblock_region that * defines the region extents, its attributes and NUMA node id on NUMA - * systems. Every memory type is described by the :c:type:`struct - * memblock_type` which contains an array of memory regions along with + * systems. Every memory type is described by the struct memblock_type + * which contains an array of memory regions along with * the allocator metadata. The "memory" and "reserved" types are nicely * wrapped with struct memblock. This structure is statically * initialized at build time. The region arrays are initially sized to |