Re: [PATCH v3] drivers: mtd: Fixed breaking list in __mtd_del_partition.

From: Miquel Raynal
Date: Fri Nov 19 2021 - 13:35:34 EST

On Tue, 2021-11-02 at 17:26:04 UTC, Andreas Oetken wrote:
> Not the child partition should be removed from the partition list
> but the partition itself. Otherwise the partition list gets broken
> and any subsequent remove operations leads to a kernel panic.
> Fixes: 46b5889cc2c5 ("mtd: implement proper partition handling")
> Signed-off-by: Andreas Oetken <andreas.oetken@xxxxxxxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

Applied to mtd/next, thanks.