[PATCH 5.15 167/644] mtd: fix possible integer overflow in erase_xfer()