• Heinrich Schuchardt's avatar
    efi_loader: avoid initializer element is not constant · 44ab2d32
    Heinrich Schuchardt authored
    When building with -pedantic the current definition of EFI_GUID() causes
    an error 'initializer element is not constant'.
    
    Currently EFI_GUID() is used both as an anonymous constant and as an
    intializer. A conversion to efi_guid_t is not allowable when using
    EFI_GUID() as an initializer. But it is needed when using it as an
    anonymous constant.
    
    We should not use EFI_GUID() for anything but an initializer. So let's
    introduce a variable where needed and remove the conversion.
    Signed-off-by: Heinrich Schuchardt's avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
    Signed-off-by: Alexander Graf's avatarAlexander Graf <agraf@suse.de>
    44ab2d32
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
part.c Loading commit data...
part_amiga.c Loading commit data...
part_amiga.h Loading commit data...
part_dos.c Loading commit data...
part_dos.h Loading commit data...
part_efi.c Loading commit data...
part_iso.c Loading commit data...
part_iso.h Loading commit data...
part_mac.c Loading commit data...
part_mac.h Loading commit data...