--- zzzz-none-000/linux-4.9.279/block/partitions/efi.c 2021-08-08 06:38:54.000000000 +0000 +++ puma7-arm-6591-750/linux-4.9.279/block/partitions/efi.c 2023-02-08 10:58:12.000000000 +0000 @@ -96,6 +96,11 @@ * - Code works, detects all the partitions. * ************************************************************/ +/* + * Includes Intel Corporation's changes/modifications dated: 2018. + * Changed/modified portions - Copyright (c) 2018, Intel Corporation. +*/ + #include #include #include @@ -729,7 +734,7 @@ ARRAY_SIZE(ptes[i].partition_name)); info->volname[label_max] = 0; while (label_count < label_max) { - u8 c = ptes[i].partition_name[label_count] & 0xff; + u8 c = le16_to_cpu(ptes[i].partition_name[label_count]) & 0xff; if (c && !isprint(c)) c = '!'; info->volname[label_count] = c;