commit | f3d7c2292d104519195fdb11192daec13229c219 | [log] [tgz] |
---|---|---|
author | Bradley Bolen <bradleybolen@gmail.com> | Sat Nov 16 20:00:45 2019 -0500 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Nov 18 10:05:38 2019 +0100 |
tree | 040b4395c1952d60bbb8393d1c77a1e16d752f74 | |
parent | c91843463e9e821dc3b48fe37e3155fa38299f6e [diff] |
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: Bradley Bolen <bradleybolen@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>