From: Miquel Raynal Date: Tue, 26 May 2020 19:56:13 +0000 (+0200) Subject: mtd: Fix typo in mtd_ooblayout_set_databytes() description X-Git-Tag: v5.8-rc1~68^2~5^2~4 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=519494a9afabe68a0a86e4b3e264e3e607193a02;p=users%2Fjedix%2Flinux-maple.git 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 Reviewed-by: Boris Brezillon Link: https://lore.kernel.org/linux-mtd/20200526195633.11543-2-miquel.raynal@bootlin.com --- diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 50437b4ffe76..8c4dcfa49e35 100644 --- 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_get_bytes(), except it acts on free bytes. + * Works like mtd_ooblayout_set_bytes(), except it acts on free bytes. * * Returns zero on success, a negative error code otherwise. */