mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
Merge tag 'efi-2019-10-rc1-2' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for v2019.10-rc1 (2) * Implement the EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event. * Address errors of type -Werror=address-of-packed-member when building with GCC9.1 * Fix an error when adding memory add addres 0x00000000. * Rework some code comments for Sphinx compliance.
This commit is contained in:
@@ -670,9 +670,18 @@ err:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void gpt_convert_efi_name_to_char(char *s, efi_char16_t *es, int n)
|
||||
/**
|
||||
* gpt_convert_efi_name_to_char() - convert u16 string to char string
|
||||
*
|
||||
* TODO: this conversion only supports ANSI characters
|
||||
*
|
||||
* @s: target buffer
|
||||
* @es: u16 string to be converted
|
||||
* @n: size of target buffer
|
||||
*/
|
||||
static void gpt_convert_efi_name_to_char(char *s, void *es, int n)
|
||||
{
|
||||
char *ess = (char *)es;
|
||||
char *ess = es;
|
||||
int i, j;
|
||||
|
||||
memset(s, '\0', n);
|
||||
|
Reference in New Issue
Block a user