From: Randy Dunlap Date: Fri, 22 Sep 2006 09:17:28 +0000 (+0100) Subject: [MTD] blkdev helper code: fix printk format warning X-Git-Tag: v2.6.19-rc1~1299^2~11 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=668040fcd1e06fc3e68a92708cbdfa5a52c37d3c;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/mtd_blkdevs.c b/drivers/mtd/mtd_blkdevs.c index 458d3c8ae1e..302bed5f084 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, 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; } }