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:
Heinrich Schuchardt
2025-11-04 23:14:23 +01:00
parent 033780768e
commit ea99509b67

View File

@@ -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)