Messages in this thread Patch in this message | | | From | Stefan Riedmueller <> | Subject | [PATCH] fixup! mtd: rawnand: nand_bbt: Skip bad blocks when searching for the BBT in NAND | Date | Wed, 7 Jul 2021 10:22:34 +0200 |
| |
Fix helper parameter alignment.
Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de> --- Hi Miquel,
sorry, I forgot to realign the parameters. Here's a fixup for that. Hope it's ok this way.
Regards, Stefan
--- drivers/mtd/nand/raw/nand_bbt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/nand/raw/nand_bbt.c b/drivers/mtd/nand/raw/nand_bbt.c index 2a30714350ee..b7ad030225f8 100644 --- a/drivers/mtd/nand/raw/nand_bbt.c +++ b/drivers/mtd/nand/raw/nand_bbt.c @@ -448,9 +448,8 @@ static int scan_block_fast(struct nand_chip *this, struct nand_bbt_descr *bd, } /* Check if a potential BBT block is marked as bad */ -static int bbt_block_checkbad(struct nand_chip *this, - struct nand_bbt_descr *td, - loff_t offs, uint8_t *buf) +static int bbt_block_checkbad(struct nand_chip *this, struct nand_bbt_descr *td, + loff_t offs, uint8_t *buf) { struct nand_bbt_descr *bd = this->badblock_pattern; -- 2.25.1
| |