Skip to content

Commit 519494a

Browse files
committed
mtd: Fix typo in mtd_ooblayout_set_databytes() description
Fix a probable copy/paste error: the function works like mtd_ooblayout_set_bytes(), not *_get_bytes(). Signed-off-by: Miquel Raynal <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent 9630a05 commit 519494a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/mtdcore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,7 @@ EXPORT_SYMBOL_GPL(mtd_ooblayout_get_databytes);
18001800
* @start: first ECC byte to set
18011801
* @nbytes: number of ECC bytes to set
18021802
*
1803-
* Works like mtd_ooblayout_get_bytes(), except it acts on free bytes.
1803+
* Works like mtd_ooblayout_set_bytes(), except it acts on free bytes.
18041804
*
18051805
* Returns zero on success, a negative error code otherwise.
18061806
*/

0 commit comments

Comments
 (0)