Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit f3d7c229 authored by Bradley Bolen's avatar Bradley Bolen Committed by Ulf Hansson
Browse files

mmc: core: Fix size overflow for mmc partitions


With large eMMC cards, it is possible to create general purpose
partitions that are bigger than 4GB.  The size member of the mmc_part
struct is only an unsigned int which overflows for gp partitions larger
than 4GB.  Change this to a u64 to handle the overflow.

Signed-off-by: default avatarBradley Bolen <bradleybolen@gmail.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent c9184346
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment