Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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>

authored by

Randy Dunlap and committed by
Linus Torvalds
9c275a83 38e716aa

+1 -1
+1 -1
drivers/cdrom/gscd.c
··· 266 266 goto out; 267 267 268 268 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)); 270 270 end_request(req, 0); 271 271 goto repeat; 272 272 }