diff options
author | Weijie Gao <weijie.gao@mediatek.com> | 2025-04-25 11:43:03 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-04-28 13:26:15 -0600 |
commit | 65a0d47f5a1e19b1766e3c206b8126951c813afe (patch) | |
tree | b665e2cd03a571fa72298979ad9dff123c9fb95d /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | |
parent | 2c529839a93d886253c596449545f62bec21a4ac (diff) |
mtd: mtdparts: calculate mtd partition offset before calculating size
The mtd partition offset must be calculated first as it will be
referenced when calculating the mtd partition size.
Change-Id: Iccfd101b0a9597ac240c25670da638a82af28980
Fixes: 1ca97ee9039 (mtd: mtdpart: Support MTD_SIZE_REMAINING with unallocated memory area)
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Reported-by: Francesco Dolcini <francesco@dolcini.it>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions