Re: [PATCH v2 09/12] efi: Print error messages to grub_efi_allocate_pages_real()

2020-03-05 Thread Daniel Kiper
On Wed, Mar 04, 2020 at 12:58:48PM +0100, Javier Martinez Canillas wrote: > From: Peter Jones > > 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:

[PATCH v2 09/12] efi: Print error messages to grub_efi_allocate_pages_real()

2020-03-04 Thread Javier Martinez Canillas
From: Peter Jones 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 Signed-off-by: Javier Martinez Canillas --- grub-core/kern/efi/mm.c | 1