mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 17:43:59 +00:00
mtd: nand: add out label in rfc_from4
This has been forgotten in commit f5bbdacc419 ("[MTD] NAND Modularize read function") and nobody compiled the driver. Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Joern Engel <joern@wh.fh-wedel.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
9c312058b2
commit
6f5afaed58
@ -460,7 +460,7 @@ static int rtc_from4_errstat(struct mtd_info *mtd, struct nand_chip *this,
|
|||||||
er_stat |= 1 << 1;
|
er_stat |= 1 << 1;
|
||||||
kfree(buf);
|
kfree(buf);
|
||||||
}
|
}
|
||||||
|
out:
|
||||||
rtn = status;
|
rtn = status;
|
||||||
if (er_stat == 0) { /* if ECC is available */
|
if (er_stat == 0) { /* if ECC is available */
|
||||||
rtn = (status & ~NAND_STATUS_FAIL); /* clear the error bit */
|
rtn = (status & ~NAND_STATUS_FAIL); /* clear the error bit */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user