1
0
Fork 0
alistair23-linux/drivers/mmc
Bradley Bolen a21260928b mmc: core: Fix size overflow for mmc partitions
[ Upstream commit f3d7c2292d ]

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>
2020-10-01 13:17:20 +02:00
..
core mmc: core: Fix size overflow for mmc partitions 2020-10-01 13:17:20 +02:00
host mmc: sdhci-of-esdhc: Don't walk device-tree on every interrupt 2020-09-17 13:47:53 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00