提交 e4e3295f 编写于 作者: D David Woodhouse

Revert "[MTD] blkdev helper code: fix printk format warning"

This reverts commit 668040fc.

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: NDavid Woodhouse <dwmw2@infradead.org>
上级 51197abf
...@@ -69,7 +69,7 @@ static int do_blktrans_request(struct mtd_blktrans_ops *tr, ...@@ -69,7 +69,7 @@ static int do_blktrans_request(struct mtd_blktrans_ops *tr,
return 1; return 1;
default: default:
printk(KERN_NOTICE "Unknown request %d\n", rq_data_dir(req)); printk(KERN_NOTICE "Unknown request %ld\n", rq_data_dir(req));
return 0; return 0;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册