aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-22 06:05:42 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-22 06:05:42 -0400
commite4e3295f0c0e1a09a46522359e24c0569e2e7b47 (patch)
tree538e656d60b2872521fcf295f7250df90d21b07a /drivers/mtd
parent51197abf29657373bcf9803d87da3c3d8fc3a37e (diff)
Revert "[MTD] blkdev helper code: fix printk format warning"
This reverts commit 668040fcd1e06fc3e68a92708cbdfa5a52c37d3c. The 'flags' field of the struct request is 'unsigned long'. Quite how Randy came to see 'long int format, different type arg' I don't know, but it doesn't seem to be the case any more. 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 302bed5f0845..458d3c8ae1ee 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 %d\n", rq_data_dir(req)); 72 printk(KERN_NOTICE "Unknown request %ld\n", rq_data_dir(req));
73 return 0; 73 return 0;
74 } 74 }
75} 75}