Re: [PATCH 1/2] mtd: core: Report error if first mtd_otp_size() call fails in mtd_otp_nvmem_add()
From: Michael Walle
Date: Mon Mar 11 2024 - 10:24:32 EST
On Thu Mar 7, 2024 at 2:04 PM CET, Aapo Vienamo wrote:
> Jump to the error reporting code in mtd_otp_nvmem_add() if the
> mtd_otp_size() call fails. Without this fix, the error is not logged.
>
> Signed-off-by: Aapo Vienamo <aapo.vienamo@xxxxxxxxxxxxxxx>
> Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
> Fixes: 4b361cfa8624 ("mtd: core: add OTP nvmem provider support")
Not sure this qualifies as a Fixes patch, I'll leave that to the MTD
mainterainer.
Anyways,
Reviewed-by: Michael Walle <mwalle@xxxxxxxxxx>
-michael
Attachment:
signature.asc
Description: PGP signature