silence 'make xmldocs' warning by adding missing description of 'raw' in nand_base.c:1485
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Jesper Juhl
'make xmldocs' currently gives me this warning :
Warning(/home/juhl/download/kernel/linux-2.6//drivers/mtd/nand/nand_base.c:1485): No description found for parameter 'raw'This patch silences the warning by adding a description for 'raw'
Signed-off-by Jesper Juhl <[email protected]>
ACK
tglx
Quoted 5 lines · Thomas Gleixner
Quoted 4 lines · Jesper Juhl
'make xmldocs' currently gives me this warning :
Warning(/home/juhl/download/kernel/linux-2.6//drivers/mtd/nand/nand_base.c:1485): No description found for parameter 'raw'
Quoted 8 lines
Quoted 4 lines
This patch silences the warning by adding a description for 'raw'
Signed-off-by Jesper Juhl <[email protected]>ACK
tglx
Thank you for the ACK Thomas.
Linus: Could you add this to your tree? I believe it's still appropriate even at -rc3 since it doesn't make any code changes but simply fix an annoying warning. Patch included (again) below for your convenience :
Add description of 'raw' in comments for drivers/mtd/nand/nand_base.c::nand_write_page_syndrome() so 'make xmldocs' will not spew a warning at us.
---
drivers/mtd/nand/nand_base.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mtd/nand/nand_base.c +1 -0
@@ -1479,6 +1479,7 @@ static void nand_write_page_syndrome(str* @buf: the data to write * @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,const uint8_t *buf,int page,int cached,int raw)