Skip to content
Commit 3cc56611 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

disk: efi: correct the allocation size for mbr header in stack



use ALLOC_CACHE_ALIGN_BUFFER_PAD for mbr header allocation
in stack to fix alloc issue in is_gpt_valid()

this patch fix also issue for GPT partition handling
with blocksize != 512 in set_protective_mbr()

Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent aaa4ba93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment