[PATCH 1/2] mtd: core: Report error if first mtd_otp_size() call fails in mtd_otp_nvmem_add()
Michael Walle
mwalle at kernel.org
Mon Mar 11 07:23:39 PDT 2024
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 at linux.intel.com>
> Reviewed-by: Mika Westerberg <mika.westerberg at linux.intel.com>
> 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 at kernel.org>
-michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20240311/ba0b2c11/attachment.sig>
More information about the linux-mtd
mailing list