Skip to content

Commit

Permalink
[PATCH] cdrom/gdsc: fix printk format warning
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
rddunlap authored and Linus Torvalds committed Aug 27, 2006
1 parent 38e716a commit 9c275a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cdrom/gscd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9c275a8

Please sign in to comment.