linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: KASan: fix up memblock prints
@ 2020-10-19  9:56 Linus Walleij
  0 siblings, 0 replies; only message in thread
From: Linus Walleij @ 2020-10-19  9:56 UTC (permalink / raw)
  To: Florian Fainelli, Abbott Liu, Russell King, Ard Biesheuvel,
	Andrey Ryabinin, Mike Rapoport
  Cc: Linus Walleij, Arnd Bergmann, linux-arm-kernel

The end address prints are not working, skip this and just
indicate where the memory block starts.

Suggested-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/mm/kasan_init.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mm/kasan_init.c b/arch/arm/mm/kasan_init.c
index 8afd5c017b7f..4b575f58c40b 100644
--- a/arch/arm/mm/kasan_init.c
+++ b/arch/arm/mm/kasan_init.c
@@ -245,13 +245,12 @@ void __init kasan_init(void)
 
 		/* Do not attempt to shadow highmem */
 		if (reg->base >= arm_lowmem_limit) {
-			pr_info("Skip highmem block %pap-%pap\n",
-				&reg->base, &reg->base + reg->size);
+			pr_info("Skip highmem block at %pap\n", &reg->base);
 			continue;
 		}
 		if (reg->base + reg->size > arm_lowmem_limit) {
-			pr_info("Truncating shadow for %pap-%pap to lowmem region\n",
-				&reg->base, &reg->base + reg->size);
+			pr_info("Truncating shadow for %pap memory block to lowmem region\n",
+				&reg->base);
 			end = __va(arm_lowmem_limit);
 		}
 		if (start >= end) {
-- 
2.26.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-19  9:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19  9:56 [PATCH] ARM: KASan: fix up memblock prints Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).