projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9630a05
)
mtd: Fix typo in mtd_ooblayout_set_databytes() description
author
Miquel Raynal
<miquel.raynal@bootlin.com>
Tue, 26 May 2020 19:56:13 +0000
(21:56 +0200)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Sun, 31 May 2020 08:53:41 +0000
(10:53 +0200)
Fix a probable copy/paste error: the function works like
mtd_ooblayout_set_bytes(), not *_get_bytes().
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link:
https://lore.kernel.org/linux-mtd/20200526195633.11543-2-miquel.raynal@bootlin.com
drivers/mtd/mtdcore.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/mtdcore.c
b/drivers/mtd/mtdcore.c
index
50437b4
..
8c4dcfa
100644
(file)
--- a/
drivers/mtd/mtdcore.c
+++ b/
drivers/mtd/mtdcore.c
@@
-1800,7
+1800,7
@@
EXPORT_SYMBOL_GPL(mtd_ooblayout_get_databytes);
* @start: first ECC byte to set
* @nbytes: number of ECC bytes to set
*
- * Works like mtd_ooblayout_
g
et_bytes(), except it acts on free bytes.
+ * Works like mtd_ooblayout_
s
et_bytes(), except it acts on free bytes.
*
* Returns zero on success, a negative error code otherwise.
*/