debug() support supports %p to print pointers. The debug message is unique. So there is not need to write a possibly distracting line number.
Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> --- cmd/bootefi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/bootefi.c b/cmd/bootefi.c index cb4d797e90..6931643066 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -390,8 +390,7 @@ static efi_status_t do_bootefi_exec(void *efi, "{ro,boot}(blob)0000000000000000"); /* Call our payload! */ - debug("%s:%d Jumping to 0x%lx\n", __func__, __LINE__, - (long)image_obj->entry); + debug("%s: Jumping to 0x%p\n", __func__, image_obj->entry); if (setjmp(&image_obj->exit_jmp)) { ret = image_obj->exit_status; -- 2.19.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot