mirror of https://gitee.com/openkylin/linux.git
[PATCH] cdrom/gdsc: fix printk format warning
Fix printk format warning: drivers/cdrom/gscd.c:269: warning: format â%luâ expects type âlong unsigned intâ, but argument 2 has type âunsigned intâ Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Cc: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
38e716aa01
commit
9c275a8391
|
@ -266,7 +266,7 @@ static void __do_gscd_request(unsigned long dummy)
|
|||
goto out;
|
||||
|
||||
if (req->cmd != READ) {
|
||||
printk("GSCD: bad cmd %lu\n", rq_data_dir(req));
|
||||
printk("GSCD: bad cmd %u\n", rq_data_dir(req));
|
||||
end_request(req, 0);
|
||||
goto repeat;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue