efi_client: correct memset() return value
Memset() must return a pointer to the start of the updated memory block.
Fixes: 476476e73b ("efi: Add support for loading U-Boot through an EFI stub")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
@@ -110,7 +110,7 @@ void *memset(void *inptr, int ch, size_t size)
|
||||
while (ptr < end)
|
||||
*ptr++ = ch;
|
||||
|
||||
return ptr;
|
||||
return inptr;
|
||||
}
|
||||
|
||||
static void jump_to_uboot(ulong cs32, ulong addr, ulong info)
|
||||
|
||||
Reference in New Issue
Block a user