forked from luck/tmp_suning_uos_patched
[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>
This commit is contained in:
parent
f40a6f1cc7
commit
668040fcd1
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user