Searched hist:"1 a3487cdf8dc1f60dcbf66775cd68597c31bac22" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/mtd/ubi/ |
H A D | fastmap.c | diff 1a3487cdf8dc1f60dcbf66775cd68597c31bac22 Mon Feb 19 20:49:03 CST 2024 Zhang Yi <yi.zhang@huawei.com> ubi: correct the calculation of fastmap size
[ Upstream commit 7f174ae4f39e8475adcc09d26c5a43394689ad6c ]
Now that the calculation of fastmap size in ubi_calc_fm_size() is incorrect since it miss each user volume's ubi_fm_eba structure and the Internal UBI volume info. Let's correct the calculation.
Cc: stable@vger.kernel.org Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Sasha Levin <sashal@kernel.org>
|