* [PATCH v2 0/2] Fix some function description mismatches
@ 2018-03-29 1:34 ` Xiaolei Li
0 siblings, 0 replies; 10+ messages in thread
From: Xiaolei Li @ 2018-03-29 1:34 UTC (permalink / raw)
To: boris.brezillon, richard
Cc: linux-mtd, linux-mediatek, srv_heupstream, xiaolei.li
This patch fixes some function description mismatches.
Changes on v2 relative to:
--------------------
tree : https://github.com/bbrezillon/linux-0day
branch : nand/next
commit :
'commit ba4150b1ec2a ("mtd: rawnand: s3c2410: enhance the probe
function error path")'
Patch v2:
---------
- change "@owner: MTD module owner" to "@owner: NAND device owner"
- change "nand memory organization" to "@nand->memorg"
Xiaolei Li (2):
mtd: Fix some function description mismatches in mtdcore.c
mtd: nand: Fix some function description mismatches in core.c
drivers/mtd/mtdcore.c | 8 ++++----
drivers/mtd/nand/core.c | 12 ++++++------
2 files changed, 10 insertions(+), 10 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2 0/2] Fix some function description mismatches
@ 2018-03-29 1:34 ` Xiaolei Li
0 siblings, 0 replies; 10+ messages in thread
From: Xiaolei Li @ 2018-03-29 1:34 UTC (permalink / raw)
To: boris.brezillon-LDxbnhwyfcJBDgjK7y7TUQ, richard-/L3Ra7n9ekc
Cc: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
xiaolei.li-NuS5LvNUpcJWk0Htik3J/w,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
srv_heupstream-NuS5LvNUpcJWk0Htik3J/w
This patch fixes some function description mismatches.
Changes on v2 relative to:
--------------------
tree : https://github.com/bbrezillon/linux-0day
branch : nand/next
commit :
'commit ba4150b1ec2a ("mtd: rawnand: s3c2410: enhance the probe
function error path")'
Patch v2:
---------
- change "@owner: MTD module owner" to "@owner: NAND device owner"
- change "nand memory organization" to "@nand->memorg"
Xiaolei Li (2):
mtd: Fix some function description mismatches in mtdcore.c
mtd: nand: Fix some function description mismatches in core.c
drivers/mtd/mtdcore.c | 8 ++++----
drivers/mtd/nand/core.c | 12 ++++++------
2 files changed, 10 insertions(+), 10 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2 1/2] mtd: Fix some function description mismatches in mtdcore.c
@ 2018-03-29 1:34 ` Xiaolei Li
0 siblings, 0 replies; 10+ messages in thread
From: Xiaolei Li @ 2018-03-29 1:34 UTC (permalink / raw)
To: boris.brezillon, richard
Cc: linux-mtd, linux-mediatek, srv_heupstream, xiaolei.li
In mtdcore.c, some function descriptions do not match function
definitions. Just fix these mismatches.
Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
---
drivers/mtd/mtdcore.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 28553c8..413ea9b 100644
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -419,7 +419,7 @@ int mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit,
EXPORT_SYMBOL_GPL(mtd_wunit_to_pairing_info);
/**
- * mtd_wunit_to_pairing_info - get wunit from pairing information
+ * mtd_pairing_info_to_wunit - get wunit from pairing information
* @mtd: pointer to new MTD device info structure
* @info: pairing information struct
*
@@ -1525,9 +1525,9 @@ int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf,
EXPORT_SYMBOL_GPL(mtd_ooblayout_get_databytes);
/**
- * mtd_ooblayout_get_eccbytes - set data bytes into the oob buffer
+ * mtd_ooblayout_set_databytes - set data bytes into the oob buffer
* @mtd: mtd info structure
- * @eccbuf: source buffer to get data bytes from
+ * @databuf: source buffer to get data bytes from
* @oobbuf: OOB buffer
* @start: first ECC byte to set
* @nbytes: number of ECC bytes to set
@@ -1559,7 +1559,7 @@ int mtd_ooblayout_count_freebytes(struct mtd_info *mtd)
EXPORT_SYMBOL_GPL(mtd_ooblayout_count_freebytes);
/**
- * mtd_ooblayout_count_freebytes - count the number of ECC bytes in OOB
+ * mtd_ooblayout_count_eccbytes - count the number of ECC bytes in OOB
* @mtd: mtd info structure
*
* Works like mtd_ooblayout_count_bytes(), except it count ECC bytes.
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v2 1/2] mtd: Fix some function description mismatches in mtdcore.c
@ 2018-03-29 1:34 ` Xiaolei Li
0 siblings, 0 replies; 10+ messages in thread
From: Xiaolei Li @ 2018-03-29 1:34 UTC (permalink / raw)
To: boris.brezillon-LDxbnhwyfcJBDgjK7y7TUQ, richard-/L3Ra7n9ekc
Cc: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
xiaolei.li-NuS5LvNUpcJWk0Htik3J/w,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
srv_heupstream-NuS5LvNUpcJWk0Htik3J/w
In mtdcore.c, some function descriptions do not match function
definitions. Just fix these mismatches.
Signed-off-by: Xiaolei Li <xiaolei.li-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
---
drivers/mtd/mtdcore.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 28553c8..413ea9b 100644
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -419,7 +419,7 @@ int mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit,
EXPORT_SYMBOL_GPL(mtd_wunit_to_pairing_info);
/**
- * mtd_wunit_to_pairing_info - get wunit from pairing information
+ * mtd_pairing_info_to_wunit - get wunit from pairing information
* @mtd: pointer to new MTD device info structure
* @info: pairing information struct
*
@@ -1525,9 +1525,9 @@ int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf,
EXPORT_SYMBOL_GPL(mtd_ooblayout_get_databytes);
/**
- * mtd_ooblayout_get_eccbytes - set data bytes into the oob buffer
+ * mtd_ooblayout_set_databytes - set data bytes into the oob buffer
* @mtd: mtd info structure
- * @eccbuf: source buffer to get data bytes from
+ * @databuf: source buffer to get data bytes from
* @oobbuf: OOB buffer
* @start: first ECC byte to set
* @nbytes: number of ECC bytes to set
@@ -1559,7 +1559,7 @@ int mtd_ooblayout_count_freebytes(struct mtd_info *mtd)
EXPORT_SYMBOL_GPL(mtd_ooblayout_count_freebytes);
/**
- * mtd_ooblayout_count_freebytes - count the number of ECC bytes in OOB
+ * mtd_ooblayout_count_eccbytes - count the number of ECC bytes in OOB
* @mtd: mtd info structure
*
* Works like mtd_ooblayout_count_bytes(), except it count ECC bytes.
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v2 2/2] mtd: nand: Fix some function description mismatches in core.c
@ 2018-03-29 1:34 ` Xiaolei Li
0 siblings, 0 replies; 10+ messages in thread
From: Xiaolei Li @ 2018-03-29 1:34 UTC (permalink / raw)
To: boris.brezillon, richard
Cc: linux-mtd, linux-mediatek, srv_heupstream, xiaolei.li
In core.c, some function descriptions do not match function
definitions. Just fix these mismatches.
Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
---
drivers/mtd/nand/core.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/mtd/nand/core.c b/drivers/mtd/nand/core.c
index f237a68..d0cd6f8 100644
--- a/drivers/mtd/nand/core.c
+++ b/drivers/mtd/nand/core.c
@@ -51,7 +51,7 @@ bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos)
/**
* nanddev_markbad() - Mark a block as bad
* @nand: NAND device
- * @block: block to mark bad
+ * @pos: position of the block to mark bad
*
* Mark a block bad. This function is updating the BBT if available and
* calls the low-level markbad hook (nand->ops->markbad()).
@@ -117,9 +117,9 @@ bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos)
/**
* nanddev_erase() - Erase a NAND portion
* @nand: NAND device
- * @block: eraseblock to erase
+ * @pos: position of the block to erase
*
- * Erases @block if it's not bad.
+ * Erases the block if it's not bad.
*
* Return: 0 in case of success, a negative error code otherwise.
*/
@@ -179,11 +179,11 @@ int nanddev_mtd_erase(struct mtd_info *mtd, struct erase_info *einfo)
/**
* nanddev_init() - Initialize a NAND device
* @nand: NAND device
- * @memorg: NAND memory organization descriptor
* @ops: NAND device operations
+ * @owner: NAND device owner
*
- * Initializes a NAND device object. Consistency checks are done on @memorg and
- * @ops. Also takes care of initializing the BBT.
+ * Initializes a NAND device object. Consistency checks are done on @ops and
+ * @nand->memorg. Also takes care of initializing the BBT.
*
* Return: 0 in case of success, a negative error code otherwise.
*/
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v2 2/2] mtd: nand: Fix some function description mismatches in core.c
@ 2018-03-29 1:34 ` Xiaolei Li
0 siblings, 0 replies; 10+ messages in thread
From: Xiaolei Li @ 2018-03-29 1:34 UTC (permalink / raw)
To: boris.brezillon-LDxbnhwyfcJBDgjK7y7TUQ, richard-/L3Ra7n9ekc
Cc: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
xiaolei.li-NuS5LvNUpcJWk0Htik3J/w,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
srv_heupstream-NuS5LvNUpcJWk0Htik3J/w
In core.c, some function descriptions do not match function
definitions. Just fix these mismatches.
Signed-off-by: Xiaolei Li <xiaolei.li-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
---
drivers/mtd/nand/core.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/mtd/nand/core.c b/drivers/mtd/nand/core.c
index f237a68..d0cd6f8 100644
--- a/drivers/mtd/nand/core.c
+++ b/drivers/mtd/nand/core.c
@@ -51,7 +51,7 @@ bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos)
/**
* nanddev_markbad() - Mark a block as bad
* @nand: NAND device
- * @block: block to mark bad
+ * @pos: position of the block to mark bad
*
* Mark a block bad. This function is updating the BBT if available and
* calls the low-level markbad hook (nand->ops->markbad()).
@@ -117,9 +117,9 @@ bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos)
/**
* nanddev_erase() - Erase a NAND portion
* @nand: NAND device
- * @block: eraseblock to erase
+ * @pos: position of the block to erase
*
- * Erases @block if it's not bad.
+ * Erases the block if it's not bad.
*
* Return: 0 in case of success, a negative error code otherwise.
*/
@@ -179,11 +179,11 @@ int nanddev_mtd_erase(struct mtd_info *mtd, struct erase_info *einfo)
/**
* nanddev_init() - Initialize a NAND device
* @nand: NAND device
- * @memorg: NAND memory organization descriptor
* @ops: NAND device operations
+ * @owner: NAND device owner
*
- * Initializes a NAND device object. Consistency checks are done on @memorg and
- * @ops. Also takes care of initializing the BBT.
+ * Initializes a NAND device object. Consistency checks are done on @ops and
+ * @nand->memorg. Also takes care of initializing the BBT.
*
* Return: 0 in case of success, a negative error code otherwise.
*/
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH v2 2/2] mtd: nand: Fix some function description mismatches in core.c
@ 2018-03-29 17:54 ` Boris Brezillon
0 siblings, 0 replies; 10+ messages in thread
From: Boris Brezillon @ 2018-03-29 17:54 UTC (permalink / raw)
To: Xiaolei Li; +Cc: richard, linux-mediatek, linux-mtd, srv_heupstream
On Thu, 29 Mar 2018 09:34:59 +0800
Xiaolei Li <xiaolei.li@mediatek.com> wrote:
> In core.c, some function descriptions do not match function
> definitions. Just fix these mismatches.
>
> Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
Applied.
Thanks,
Boris
> ---
> drivers/mtd/nand/core.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/mtd/nand/core.c b/drivers/mtd/nand/core.c
> index f237a68..d0cd6f8 100644
> --- a/drivers/mtd/nand/core.c
> +++ b/drivers/mtd/nand/core.c
> @@ -51,7 +51,7 @@ bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos)
> /**
> * nanddev_markbad() - Mark a block as bad
> * @nand: NAND device
> - * @block: block to mark bad
> + * @pos: position of the block to mark bad
> *
> * Mark a block bad. This function is updating the BBT if available and
> * calls the low-level markbad hook (nand->ops->markbad()).
> @@ -117,9 +117,9 @@ bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos)
> /**
> * nanddev_erase() - Erase a NAND portion
> * @nand: NAND device
> - * @block: eraseblock to erase
> + * @pos: position of the block to erase
> *
> - * Erases @block if it's not bad.
> + * Erases the block if it's not bad.
> *
> * Return: 0 in case of success, a negative error code otherwise.
> */
> @@ -179,11 +179,11 @@ int nanddev_mtd_erase(struct mtd_info *mtd, struct erase_info *einfo)
> /**
> * nanddev_init() - Initialize a NAND device
> * @nand: NAND device
> - * @memorg: NAND memory organization descriptor
> * @ops: NAND device operations
> + * @owner: NAND device owner
> *
> - * Initializes a NAND device object. Consistency checks are done on @memorg and
> - * @ops. Also takes care of initializing the BBT.
> + * Initializes a NAND device object. Consistency checks are done on @ops and
> + * @nand->memorg. Also takes care of initializing the BBT.
> *
> * Return: 0 in case of success, a negative error code otherwise.
> */
--
Boris Brezillon, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2 2/2] mtd: nand: Fix some function description mismatches in core.c
@ 2018-03-29 17:54 ` Boris Brezillon
0 siblings, 0 replies; 10+ messages in thread
From: Boris Brezillon @ 2018-03-29 17:54 UTC (permalink / raw)
To: Xiaolei Li
Cc: richard-/L3Ra7n9ekc,
linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
srv_heupstream-NuS5LvNUpcJWk0Htik3J/w,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On Thu, 29 Mar 2018 09:34:59 +0800
Xiaolei Li <xiaolei.li-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> wrote:
> In core.c, some function descriptions do not match function
> definitions. Just fix these mismatches.
>
> Signed-off-by: Xiaolei Li <xiaolei.li-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
Applied.
Thanks,
Boris
> ---
> drivers/mtd/nand/core.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/mtd/nand/core.c b/drivers/mtd/nand/core.c
> index f237a68..d0cd6f8 100644
> --- a/drivers/mtd/nand/core.c
> +++ b/drivers/mtd/nand/core.c
> @@ -51,7 +51,7 @@ bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos)
> /**
> * nanddev_markbad() - Mark a block as bad
> * @nand: NAND device
> - * @block: block to mark bad
> + * @pos: position of the block to mark bad
> *
> * Mark a block bad. This function is updating the BBT if available and
> * calls the low-level markbad hook (nand->ops->markbad()).
> @@ -117,9 +117,9 @@ bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos)
> /**
> * nanddev_erase() - Erase a NAND portion
> * @nand: NAND device
> - * @block: eraseblock to erase
> + * @pos: position of the block to erase
> *
> - * Erases @block if it's not bad.
> + * Erases the block if it's not bad.
> *
> * Return: 0 in case of success, a negative error code otherwise.
> */
> @@ -179,11 +179,11 @@ int nanddev_mtd_erase(struct mtd_info *mtd, struct erase_info *einfo)
> /**
> * nanddev_init() - Initialize a NAND device
> * @nand: NAND device
> - * @memorg: NAND memory organization descriptor
> * @ops: NAND device operations
> + * @owner: NAND device owner
> *
> - * Initializes a NAND device object. Consistency checks are done on @memorg and
> - * @ops. Also takes care of initializing the BBT.
> + * Initializes a NAND device object. Consistency checks are done on @ops and
> + * @nand->memorg. Also takes care of initializing the BBT.
> *
> * Return: 0 in case of success, a negative error code otherwise.
> */
--
Boris Brezillon, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2 1/2] mtd: Fix some function description mismatches in mtdcore.c
@ 2018-03-29 20:24 ` Boris Brezillon
0 siblings, 0 replies; 10+ messages in thread
From: Boris Brezillon @ 2018-03-29 20:24 UTC (permalink / raw)
To: Xiaolei Li; +Cc: richard, linux-mediatek, linux-mtd, srv_heupstream
On Thu, 29 Mar 2018 09:34:58 +0800
Xiaolei Li <xiaolei.li@mediatek.com> wrote:
> In mtdcore.c, some function descriptions do not match function
> definitions. Just fix these mismatches.
>
> Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
Applied.
Thanks,
Boris
> ---
> drivers/mtd/mtdcore.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
> index 28553c8..413ea9b 100644
> --- a/drivers/mtd/mtdcore.c
> +++ b/drivers/mtd/mtdcore.c
> @@ -419,7 +419,7 @@ int mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit,
> EXPORT_SYMBOL_GPL(mtd_wunit_to_pairing_info);
>
> /**
> - * mtd_wunit_to_pairing_info - get wunit from pairing information
> + * mtd_pairing_info_to_wunit - get wunit from pairing information
> * @mtd: pointer to new MTD device info structure
> * @info: pairing information struct
> *
> @@ -1525,9 +1525,9 @@ int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf,
> EXPORT_SYMBOL_GPL(mtd_ooblayout_get_databytes);
>
> /**
> - * mtd_ooblayout_get_eccbytes - set data bytes into the oob buffer
> + * mtd_ooblayout_set_databytes - set data bytes into the oob buffer
> * @mtd: mtd info structure
> - * @eccbuf: source buffer to get data bytes from
> + * @databuf: source buffer to get data bytes from
> * @oobbuf: OOB buffer
> * @start: first ECC byte to set
> * @nbytes: number of ECC bytes to set
> @@ -1559,7 +1559,7 @@ int mtd_ooblayout_count_freebytes(struct mtd_info *mtd)
> EXPORT_SYMBOL_GPL(mtd_ooblayout_count_freebytes);
>
> /**
> - * mtd_ooblayout_count_freebytes - count the number of ECC bytes in OOB
> + * mtd_ooblayout_count_eccbytes - count the number of ECC bytes in OOB
> * @mtd: mtd info structure
> *
> * Works like mtd_ooblayout_count_bytes(), except it count ECC bytes.
--
Boris Brezillon, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2 1/2] mtd: Fix some function description mismatches in mtdcore.c
@ 2018-03-29 20:24 ` Boris Brezillon
0 siblings, 0 replies; 10+ messages in thread
From: Boris Brezillon @ 2018-03-29 20:24 UTC (permalink / raw)
To: Xiaolei Li
Cc: richard-/L3Ra7n9ekc,
linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
srv_heupstream-NuS5LvNUpcJWk0Htik3J/w,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On Thu, 29 Mar 2018 09:34:58 +0800
Xiaolei Li <xiaolei.li-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> wrote:
> In mtdcore.c, some function descriptions do not match function
> definitions. Just fix these mismatches.
>
> Signed-off-by: Xiaolei Li <xiaolei.li-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
Applied.
Thanks,
Boris
> ---
> drivers/mtd/mtdcore.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
> index 28553c8..413ea9b 100644
> --- a/drivers/mtd/mtdcore.c
> +++ b/drivers/mtd/mtdcore.c
> @@ -419,7 +419,7 @@ int mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit,
> EXPORT_SYMBOL_GPL(mtd_wunit_to_pairing_info);
>
> /**
> - * mtd_wunit_to_pairing_info - get wunit from pairing information
> + * mtd_pairing_info_to_wunit - get wunit from pairing information
> * @mtd: pointer to new MTD device info structure
> * @info: pairing information struct
> *
> @@ -1525,9 +1525,9 @@ int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf,
> EXPORT_SYMBOL_GPL(mtd_ooblayout_get_databytes);
>
> /**
> - * mtd_ooblayout_get_eccbytes - set data bytes into the oob buffer
> + * mtd_ooblayout_set_databytes - set data bytes into the oob buffer
> * @mtd: mtd info structure
> - * @eccbuf: source buffer to get data bytes from
> + * @databuf: source buffer to get data bytes from
> * @oobbuf: OOB buffer
> * @start: first ECC byte to set
> * @nbytes: number of ECC bytes to set
> @@ -1559,7 +1559,7 @@ int mtd_ooblayout_count_freebytes(struct mtd_info *mtd)
> EXPORT_SYMBOL_GPL(mtd_ooblayout_count_freebytes);
>
> /**
> - * mtd_ooblayout_count_freebytes - count the number of ECC bytes in OOB
> + * mtd_ooblayout_count_eccbytes - count the number of ECC bytes in OOB
> * @mtd: mtd info structure
> *
> * Works like mtd_ooblayout_count_bytes(), except it count ECC bytes.
--
Boris Brezillon, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2018-03-29 20:24 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-29 1:34 [PATCH v2 0/2] Fix some function description mismatches Xiaolei Li
2018-03-29 1:34 ` Xiaolei Li
2018-03-29 1:34 ` [PATCH v2 1/2] mtd: Fix some function description mismatches in mtdcore.c Xiaolei Li
2018-03-29 1:34 ` Xiaolei Li
2018-03-29 20:24 ` Boris Brezillon
2018-03-29 20:24 ` Boris Brezillon
2018-03-29 1:34 ` [PATCH v2 2/2] mtd: nand: Fix some function description mismatches in core.c Xiaolei Li
2018-03-29 1:34 ` Xiaolei Li
2018-03-29 17:54 ` Boris Brezillon
2018-03-29 17:54 ` Boris Brezillon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.