[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161222053405.27190-1-xypron.glpk@gmx.de>
Date: Thu, 22 Dec 2016 06:34:05 +0100
From: Heinrich Schuchardt <xypron.glpk@....de>
To: Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Heinrich Schuchardt <xypron.glpk@....de>
Subject: [PATCH 1/1] of/fdt: failed to mark hotplug range message
If marking a hotplug range fails a message
"failed to mark hotplug range" is written.
The end address is base + size - 1.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@....de>
---
drivers/of/fdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index c9b5cac03b36..fd129b6e5396 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -1057,7 +1057,7 @@ int __init early_init_dt_scan_memory(unsigned long node, const char *uname,
if (early_init_dt_mark_hotplug_memory_arch(base, size))
pr_warn("failed to mark hotplug range 0x%llx - 0x%llx\n",
- base, base + size);
+ base, base + size - 1);
}
return 0;
--
2.11.0
Powered by blists - more mailing lists