Loading fs/partitions/efi.c +6 −0 Original line number Diff line number Diff line Loading @@ -348,6 +348,12 @@ static int is_gpt_valid(struct parsed_partitions *state, u64 lba, goto fail; } /* Check that sizeof_partition_entry has the correct value */ if (le32_to_cpu((*gpt)->sizeof_partition_entry) != sizeof(gpt_entry)) { pr_debug("GUID Partitition Entry Size check failed.\n"); goto fail; } if (!(*ptes = alloc_read_gpt_entries(state, *gpt))) goto fail; Loading Loading
fs/partitions/efi.c +6 −0 Original line number Diff line number Diff line Loading @@ -348,6 +348,12 @@ static int is_gpt_valid(struct parsed_partitions *state, u64 lba, goto fail; } /* Check that sizeof_partition_entry has the correct value */ if (le32_to_cpu((*gpt)->sizeof_partition_entry) != sizeof(gpt_entry)) { pr_debug("GUID Partitition Entry Size check failed.\n"); goto fail; } if (!(*ptes = alloc_read_gpt_entries(state, *gpt))) goto fail; Loading