[PATCH 22/24] mtd: block2mtd: factor the early block device open logic into a helper

Miquel Raynal miquel.raynal at bootlin.com
Tue May 23 02:32:36 PDT 2023


Hi Christoph,

hch at lst.de wrote on Tue, 23 May 2023 09:45:33 +0200:

> Simply add_device a bit by splitting out the cumbersome early boot logic

I guess you meant "Simplify..."

Otherwise lgtm so,

Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>

> into a separate helper.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>  drivers/mtd/devices/block2mtd.c | 53 +++++++++++++++++++--------------
>  1 file changed, 30 insertions(+), 23 deletions(-)
> 

Thanks,
Miquèl



More information about the linux-mtd mailing list