aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-09-22 05:17:28 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-22 05:17:28 -0400
commit668040fcd1e06fc3e68a92708cbdfa5a52c37d3c (patch)
tree5caced088dbe000e938fc4848b632994c6563443 /drivers/mtd
parentf40a6f1cc7fe522e51e1ac4c7ab3035a434f2cef (diff)
[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@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/mtd_blkdevs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtd_blkdevs.c b/drivers/mtd/mtd_blkdevs.c
index 458d3c8ae1ee..302bed5f0845 100644
--- a/drivers/mtd/mtd_blkdevs.c
+++ b/drivers/mtd/mtd_blkdevs.c
@@ -69,7 +69,7 @@ static int do_blktrans_request(struct mtd_blktrans_ops *tr,
69 return 1; 69 return 1;
70 70
71 default: 71 default:
72 printk(KERN_NOTICE "Unknown request %ld\n", rq_data_dir(req)); 72 printk(KERN_NOTICE "Unknown request %d\n", rq_data_dir(req));
73 return 0; 73 return 0;
74 } 74 }
75} 75}