Messages in this thread Patch in this message | | | Date | Thu, 16 Oct 2003 20:29:35 +0200 (CEST) | From | Jesper Juhl <> | Subject | [PATCH] Minor fix for wrong format in drivers/mtd/inftlcore.c (2.6.0-test7) |
| |
Hi,
Here's a small patch for a very minor issue :
drivers/mtd/inftlcore.c: In function `inftl_writeblock': drivers/mtd/inftlcore.c:761: warning: int format, long unsigned int arg (arg 3) drivers/mtd/inftlcore.c:761: warning: int format, long unsigned int arg (arg 3) drivers/mtd/inftlcore.c: In function `inftl_readblock': drivers/mtd/inftlcore.c:807: warning: int format, long unsigned int arg (arg 3) drivers/mtd/inftlcore.c:807: warning: int format, long unsigned int arg (arg 3)
This patch should fix that (against 2.6.0-test7):
--- linux-2.6.0-test7-orig/drivers/mtd/inftlcore.c 2003-10-08 21:24:01.000000000 +0200 +++ linux-2.6.0-test7/drivers/mtd/inftlcore.c 2003-10-16 20:15:29.000000000 +0200 @@ -757,7 +757,7 @@ static int inftl_writeblock(struct mtd_b u8 eccbuf[6]; char *p, *pend;
- DEBUG(MTD_DEBUG_LEVEL3, "INFTL: inftl_writeblock(inftl=0x%x,block=%d," + DEBUG(MTD_DEBUG_LEVEL3, "INFTL: inftl_writeblock(inftl=0x%x,block=%ld," "buffer=0x%x)\n", (int)inftl, block, (int)buffer);
/* Is block all zero? */ @@ -803,7 +803,7 @@ static int inftl_readblock(struct mtd_bl struct inftl_bci bci; size_t retlen;
- DEBUG(MTD_DEBUG_LEVEL3, "INFTL: inftl_readblock(inftl=0x%x,block=%d," + DEBUG(MTD_DEBUG_LEVEL3, "INFTL: inftl_readblock(inftl=0x%x,block=%ld," "buffer=0x%x)\n", (int)inftl, block, (int)buffer);
while (thisEUN < inftl->nb_blocks) {
Hopefully this is useful.
Kind regards,
Jesper Juhl <juhl-lkml@dif.dk> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |