projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d10af38
)
mtd: rawnand: gpmi: Uninline the gpmi_check_ecc function
author
Han Xu
<han.xu@nxp.com>
Tue, 12 Apr 2022 02:52:44 +0000
(21:52 -0500)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Thu, 21 Apr 2022 07:34:06 +0000
(09:34 +0200)
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
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
index
cee3912
..
0f82edc
100644
(file)
--- a/
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
+++ b/
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
@@
-238,7
+238,7
@@
static void gpmi_dump_info(struct gpmi_nand_data *this)
geo->block_mark_bit_offset);
}
-static
inline
bool gpmi_check_ecc(struct gpmi_nand_data *this)
+static bool gpmi_check_ecc(struct gpmi_nand_data *this)
{
struct nand_chip *chip = &this->nand;
struct bch_geometry *geo = &this->bch_geometry;