From 05a6107ff18b03f4ca33496268398133abf04aaa Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Wed, 14 Sep 2022 09:29:50 +0200 Subject: [PATCH] fix(zynqmp): remove additional 0x in %p print %p is already printing value in hex that's why 0x prefix is not needed. Origin message looks like this "NOTICE: Can't read DT at 0x0x100000" and after fixing "NOTICE: Can't read DT at 0x100000" Signed-off-by: Michal Simek Change-Id: If83c485a61441f6105d8cbd797f04060dfce2817 --- plat/xilinx/zynqmp/bl31_zynqmp_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plat/xilinx/zynqmp/bl31_zynqmp_setup.c b/plat/xilinx/zynqmp/bl31_zynqmp_setup.c index 38ad32b3d..1d59537d5 100644 --- a/plat/xilinx/zynqmp/bl31_zynqmp_setup.c +++ b/plat/xilinx/zynqmp/bl31_zynqmp_setup.c @@ -176,7 +176,7 @@ static void prepare_dtb(void) /* Return if no device tree is detected */ if (fdt_check_header(dtb) != 0) { - NOTICE("Can't read DT at 0x%p\n", dtb); + NOTICE("Can't read DT at %p\n", dtb); return; } -- 2.39.5