Skip to contentSkip to conversation

disk: efi: GUIDs should be const

PATCH New Heinrich Schuchardt 3 participants 3 messages Jan 12, 2019 – Jan 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 disk: efi: GUIDs should be const

Make system_guid const.

---
 disk/part_efi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
disk/part_efi.c +1 -1
index d6bb53e6b5..239455b816 100644
@@ -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)
 {
Signature · 1 line
2.20.1
#2 lore raw

PATCH 1/1 disk: efi: GUIDs should be const

In reply to Heinrich Schuchardt
Quoted 4 lines · Heinrich Schuchardt

Make system_guid const.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190118/0a9f3344/attachment.sig>