]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: avoid unnecessary pointer to long conversion
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 28 Dec 2018 11:41:14 +0000 (12:41 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 13 Feb 2019 08:40:05 +0000 (09:40 +0100)
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.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c

index cc0f2923dcfa77cf390129c6cbbc3b50747e2d6d..7ab08382faf5fa129844055dbb22f5ccae75be03 100644 (file)
@@ -428,7 +428,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)entry);
+       debug("%s: Jumping to 0x%p\n", __func__, entry);
 
        if (setjmp(&image_obj->exit_jmp)) {
                ret = image_obj->exit_status;