Skip to contentSkip to conversation

silence 'make xmldocs' warning by adding missing description of 'raw' in nand_base.c:1485

PATCH Thomas Gleixner 2 participants 2 messages Oct 26, 2006 – Oct 27, 2006 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
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'

ACK
tglx

#2 lore raw
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'

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
index baece61..41bfcae 100644
@@ -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)