[MTD] blkdev helper code: fix printk format warning
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Sep 22 05:59:02 EDT 2006
Commit: 668040fcd1e06fc3e68a92708cbdfa5a52c37d3c
Parent: f40a6f1cc7fe522e51e1ac4c7ab3035a434f2cef
commit 668040fcd1e06fc3e68a92708cbdfa5a52c37d3c
Author: Randy Dunlap <rdunlap at xenotime.net>
AuthorDate: Fri Sep 22 10:17:28 2006 +0100
Commit: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Fri Sep 22 10:17:28 2006 +0100
[MTD] blkdev helper code: fix printk format warning
Fix printk format warning(s):
drivers/mtd/mtd_blkdevs.c:72: warning: long int format, different type arg (arg 2)
Signed-off-by: Randy Dunlap <rdunlap at xenotime.net>
Signed-off-by: Andrew Morton <akpm at osdl.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
drivers/mtd/mtd_blkdevs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/mtd_blkdevs.c b/drivers/mtd/mtd_blkdevs.c
index 458d3c8..302bed5 100644
--- a/drivers/mtd/mtd_blkdevs.c
+++ b/drivers/mtd/mtd_blkdevs.c
@@ -69,7 +69,7 @@ static int do_blktrans_request(struct mt
return 1;
default:
- printk(KERN_NOTICE "Unknown request %ld\n", rq_data_dir(req));
+ printk(KERN_NOTICE "Unknown request %d\n", rq_data_dir(req));
return 0;
}
}
More information about the linux-mtd-cvs
mailing list