diff options
| author | Bradley Bolen <bradleybolen@gmail.com> | 2019-11-16 20:00:45 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 13:14:28 +0200 |
| commit | 5b686ce8126c971bdab261707296f4d26a71ac4e (patch) | |
| tree | 85890d7a9ac57029c006ef682c38f040b8e9923f /include/linux/mbcache.h | |
| parent | 1ff84e6366b02643667b9a50548e07422afc0757 (diff) | |
mmc: core: Fix size overflow for mmc partitions
[ Upstream commit f3d7c2292d104519195fdb11192daec13229c219 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/mbcache.h')
0 files changed, 0 insertions, 0 deletions
