[U-Boot] [PATCH 1/1] disk: efi: GUIDs should be const

Make system_guid const.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de --- disk/part_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/disk/part_efi.c b/disk/part_efi.c index d6bb53e6b5..239455b816 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -66,7 +66,7 @@ static char *print_efiname(gpt_entry *pte) return name; }
-static efi_guid_t system_guid = PARTITION_SYSTEM_GUID; +static const efi_guid_t system_guid = PARTITION_SYSTEM_GUID;
static inline int is_bootable(gpt_entry *p) {

On Sat, 12 Jan 2019 at 03:30, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Make system_guid const.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
disk/part_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org

On Sat, Jan 12, 2019 at 11:25:25AM +0100, Heinrich Schuchardt wrote:
Make system_guid const.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
participants (3)
-
Heinrich Schuchardt
-
Simon Glass
-
Tom Rini