* [PATCH -mm] cdrom/gdsc: fix printk format warning
@ 2006-08-26 17:27 Randy.Dunlap
0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2006-08-26 17:27 UTC (permalink / raw)
To: lkml; +Cc: akpm
From: Randy Dunlap <rdunlap@xenotime.net>
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>
---
drivers/cdrom/gscd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2618-rc4mm2-all.orig/drivers/cdrom/gscd.c
+++ linux-2618-rc4mm2-all/drivers/cdrom/gscd.c
@@ -266,7 +266,7 @@ repeat:
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;
}
---
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-26 17:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-26 17:27 [PATCH -mm] cdrom/gdsc: fix printk format warning Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®