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

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Jan 12 10:25:25 UTC 2019


Make system_guid const.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at 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)
 {
-- 
2.20.1



More information about the U-Boot mailing list