Commit 2470c739 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix mtd printk warnings

From: Jesper Juhl <juhl-lkml@dif.dk>
parent 5731d0da
...@@ -757,7 +757,7 @@ static int inftl_writeblock(struct mtd_blktrans_dev *mbd, unsigned long block, ...@@ -757,7 +757,7 @@ static int inftl_writeblock(struct mtd_blktrans_dev *mbd, unsigned long block,
u8 eccbuf[6]; u8 eccbuf[6];
char *p, *pend; 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); "buffer=0x%x)\n", (int)inftl, block, (int)buffer);
/* Is block all zero? */ /* Is block all zero? */
...@@ -803,7 +803,7 @@ static int inftl_readblock(struct mtd_blktrans_dev *mbd, unsigned long block, ...@@ -803,7 +803,7 @@ static int inftl_readblock(struct mtd_blktrans_dev *mbd, unsigned long block,
struct inftl_bci bci; struct inftl_bci bci;
size_t retlen; 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); "buffer=0x%x)\n", (int)inftl, block, (int)buffer);
while (thisEUN < inftl->nb_blocks) { while (thisEUN < inftl->nb_blocks) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment