mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
efi_loader: avoid unnecessary pointer to long conversion
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>
This commit is contained in:
parent
23f5f4abf7
commit
c6d876fa2d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue