[PATCH] mtd: peb: mtd_peb_read(): move error message to caller

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 3 00:44:05 PST 2025


On Wed, 29 Oct 2025 14:16:17 +0100, Sascha Hauer wrote:
> Move the error message about a failure to read a PEB to the caller.
> In some cases like for example i.MX6 with NAND boot it can happen
> that mtd_peb_read() is called on the NAND blocks containing the FCB.
> These are not protected with regular ECC, so are not readable. The error
> message is expected and harmless. UBI needs this error message though,
> so move it there. Other callers have their own error message already.
> 
> [...]

Applied, thanks!

[1/1] mtd: peb: mtd_peb_read(): move error message to caller
      https://git.pengutronix.de/cgit/barebox/commit/?id=7605338da017 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list