projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: introduce mtd_block_isbad interface
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mtd
/
tests
/
mtd_oobtest.c
diff --git
a/drivers/mtd/tests/mtd_oobtest.c
b/drivers/mtd/tests/mtd_oobtest.c
index 81113885e086dbcb4c675a547ef31fd92cee4500..ed9b62827f1bee15e6f5236e4c47f92cae6bfd5c 100644
(file)
--- a/
drivers/mtd/tests/mtd_oobtest.c
+++ b/
drivers/mtd/tests/mtd_oobtest.c
@@
-329,7
+329,7
@@
static int is_block_bad(int ebnum)
int ret;
loff_t addr = ebnum * mtd->erasesize;
- ret = mtd
->
block_isbad(mtd, addr);
+ ret = mtd
_
block_isbad(mtd, addr);
if (ret)
printk(PRINT_PREF "block %d is bad\n", ebnum);
return ret;