disk: efi: GUIDs should be const
PATCH 1/1 disk: efi: GUIDs should be const
Make system_guid const.
Signed-off-by Heinrich Schuchardt <[email protected]>
--- disk/part_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
disk/part_efi.c +1 -1
@@ -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
PATCH 1/1 disk: efi: GUIDs should be const
Quoted 7 lines · Heinrich Schuchardt
Make
system_guidconst.Signed-off-by Heinrich Schuchardt <[email protected]>--- disk/part_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Simon Glass <[email protected]>
PATCH 1/1 disk: efi: GUIDs should be const
In reply to Heinrich SchuchardtQuoted 4 lines · Heinrich Schuchardt
Make
system_guidconst.Signed-off-by Heinrich Schuchardt <[email protected]>Reviewed-by Simon Glass <[email protected]>
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>