[PATCH 1/1] efi: Use struct efi_gop_mode_info in struct efi_entry_gopmode

Bin Meng bmeng.cn at gmail.com
Tue Nov 4 15:54:37 CET 2025


On Tue, Nov 4, 2025 at 7:07 PM Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Since C99 flexible array members are allowed at the end of structures.
> We require C11.
>
> Use struct efi_gop_mode_info in the definition of struct efi_entry_gopmode
> to avoid code duplication and unnecessary conversions.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  include/efi.h     | 36 +++++++++++++++++++++++-------------
>  include/efi_api.h |  9 ---------
>  2 files changed, 23 insertions(+), 22 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list