[PATCH] Documentation/arm64: fix RST layout of memory.rst

Ard Biesheuvel ardb at kernel.org
Tue Nov 10 08:08:51 EST 2020


Stephen reports that commit f4693c2716b3 ("arm64: mm: extend linear region
for 52-bit VA configurations") triggers the following warnings when building
the htmldocs make target of today's linux-next:

  Documentation/arm64/memory.rst:35: WARNING: Literal block ends without a blank line; unexpected unindent.
  Documentation/arm64/memory.rst:53: WARNING: Literal block ends without a blank line; unexpected unindent.

Let's tweak the memory layout table to work around this.

Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
---
 Documentation/arm64/memory.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/arm64/memory.rst b/Documentation/arm64/memory.rst
index ee51eb66a578..12d932e01392 100644
--- a/Documentation/arm64/memory.rst
+++ b/Documentation/arm64/memory.rst
@@ -32,7 +32,7 @@ AArch64 Linux memory layout with 4KB pages + 4 levels (48-bit)::
   -----------------------------------------------------------------------
   0000000000000000	0000ffffffffffff	 256TB		user
   ffff000000000000	ffff7fffffffffff	 128TB		kernel logical memory map
-[ ffff600000000000	ffff7fffffffffff ]	  32TB		[ kasan shadow region ]
+ [ffff600000000000	ffff7fffffffffff]	  32TB		[kasan shadow region]
   ffff800000000000	ffff800007ffffff	 128MB		bpf jit region
   ffff800008000000	ffff80000fffffff	 128MB		modules
   ffff800010000000	fffffdffbffeffff	 125TB		vmalloc
@@ -51,7 +51,7 @@ AArch64 Linux memory layout with 64KB pages + 3 levels (52-bit with HW support):
   -----------------------------------------------------------------------
   0000000000000000	000fffffffffffff	   4PB		user
   fff0000000000000	ffff7fffffffffff	  ~4PB		kernel logical memory map
-[ fffd800000000000	ffff7fffffffffff ]	 512TB		[ kasan shadow region ]
+ [fffd800000000000	ffff7fffffffffff]	 512TB		[kasan shadow region]
   ffff800000000000	ffff800007ffffff	 128MB		bpf jit region
   ffff800008000000	ffff80000fffffff	 128MB		modules
   ffff800010000000	fffff81ffffeffff	 120TB		vmalloc
-- 
2.17.1




More information about the linux-arm-kernel mailing list