]> git.ipfire.org Git - thirdparty/grub.git/commit
efi: Print error messages to grub_efi_allocate_pages_real()
authorPeter Jones <pjones@redhat.com>
Wed, 4 Mar 2020 11:58:48 +0000 (12:58 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 10 Mar 2020 20:41:16 +0000 (21:41 +0100)
commitdf84d6e94c10ffd129c35e16a2e1cdd7f90422ac
tree2b9890c7b9724f907248db14dbc6289b2279a28f
parentdf5d96de420627b950df6eddd83eeb9934a8f357
efi: Print error messages to grub_efi_allocate_pages_real()

No messages were printed in this function, add some to ease debugging.

Also, the function returns a void * pointer so return NULL instead of
0 to make the code more readable.

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/kern/efi/mm.c