Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mtd: rawnand: gpmi: Uninline the gpmi_check_ecc function

The gpmi_check_ecc() is not small after adding more strict ecc check,
uninline it.

Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220412025246.24269-4-han.xu@nxp.com

authored by

Han Xu and committed by
Miquel Raynal
10915857 d10af38a

+1 -1
+1 -1
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
··· 238 238 geo->block_mark_bit_offset); 239 239 } 240 240 241 - static inline bool gpmi_check_ecc(struct gpmi_nand_data *this) 241 + static bool gpmi_check_ecc(struct gpmi_nand_data *this) 242 242 { 243 243 struct nand_chip *chip = &this->nand; 244 244 struct bch_geometry *geo = &this->bch_geometry;