* [PATCH] mtd: nand: Fix a docs build warning
@ 2017-07-30 22:18 Jonathan Corbet
2017-07-31 16:27 ` Boris Brezillon
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Corbet @ 2017-07-30 22:18 UTC (permalink / raw)
To: Boris Brezillon; +Cc: Brian Norris, Marek Vasut, Cyrille Pitchen, linux-mtd
Commit 0b4773fd1649 (mtd: nand: Drop unused cached programming support)
removed the "cached" parameter from nand_write_page(), but did not update
the kerneldoc comments, creating this docs build warning:
./drivers/mtd/nand/nand_base.c:2751: warning: Excess function parameter 'cached' description in 'nand_write_page'
Remove the offending line so we can have a little peace and quiet.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
---
drivers/mtd/nand/nand_base.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 5fa5ddc94834..ba57d8970f27 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -2741,7 +2741,6 @@ static int nand_write_page_syndrome(struct mtd_info *mtd,
* @buf: the data to write
* @oob_required: must write chip->oob_poi to OOB
* @page: page number to write
- * @cached: cached programming
* @raw: use _raw version of write_page
*/
static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
--
2.13.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mtd: nand: Fix a docs build warning
2017-07-30 22:18 [PATCH] mtd: nand: Fix a docs build warning Jonathan Corbet
@ 2017-07-31 16:27 ` Boris Brezillon
0 siblings, 0 replies; 2+ messages in thread
From: Boris Brezillon @ 2017-07-31 16:27 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: Brian Norris, Marek Vasut, Cyrille Pitchen, linux-mtd
On Sun, 30 Jul 2017 16:18:03 -0600
Jonathan Corbet <corbet@lwn.net> wrote:
> Commit 0b4773fd1649 (mtd: nand: Drop unused cached programming support)
> removed the "cached" parameter from nand_write_page(), but did not update
> the kerneldoc comments, creating this docs build warning:
>
> ./drivers/mtd/nand/nand_base.c:2751: warning: Excess function parameter 'cached' description in 'nand_write_page'
>
> Remove the offending line so we can have a little peace and quiet.
Applied to nand/fixes.
Thanks,
Boris
>
> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
> ---
> drivers/mtd/nand/nand_base.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
> index 5fa5ddc94834..ba57d8970f27 100644
> --- a/drivers/mtd/nand/nand_base.c
> +++ b/drivers/mtd/nand/nand_base.c
> @@ -2741,7 +2741,6 @@ static int nand_write_page_syndrome(struct mtd_info *mtd,
> * @buf: the data to write
> * @oob_required: must write chip->oob_poi to OOB
> * @page: page number to write
> - * @cached: cached programming
> * @raw: use _raw version of write_page
> */
> static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-31 16:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-30 22:18 [PATCH] mtd: nand: Fix a docs build warning Jonathan Corbet
2017-07-31 16:27 ` Boris Brezillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox