[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
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ static void __do_gscd_request(unsigned long dummy)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
if (req->cmd != READ) {
|
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);
|
end_request(req, 0);
|
||||||
goto repeat;
|
goto repeat;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue