Skip to content

Commit 9c275a8

Browse files
rddunlapLinus Torvalds
authored andcommitted
[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>
1 parent 38e716a commit 9c275a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/cdrom/gscd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ static void __do_gscd_request(unsigned long dummy)
266266
goto out;
267267

268268
if (req->cmd != READ) {
269-
printk("GSCD: bad cmd %lu\n", rq_data_dir(req));
269+
printk("GSCD: bad cmd %u\n", rq_data_dir(req));
270270
end_request(req, 0);
271271
goto repeat;
272272
}

0 commit comments

Comments
 (0)