Commit 9c275a83 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[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: default avatarRandy Dunlap <rdunlap@xenotime.net>
Cc: Jens Axboe <axboe@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 38e716aa
...@@ -266,7 +266,7 @@ static void __do_gscd_request(unsigned long dummy) ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment