* [PATCH -next] staging/speakup: fix printk format warning
@ 2010-10-13 20:10 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2010-10-13 20:10 UTC (permalink / raw)
To: lkml, driverdevel; +Cc: gregkh, akpm, speakup
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix printk format warning:
drivers/staging/speakup/serialio.c:44: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: speakup@braille.uwo.ca
---
drivers/staging/speakup/serialio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20101012.orig/drivers/staging/speakup/serialio.c
+++ linux-next-20101012/drivers/staging/speakup/serialio.c
@@ -41,7 +41,7 @@ struct serial_state *spk_serial_init(int
__release_region(&ioport_resource, ser->port, 8);
err = synth_request_region(ser->port, 8);
if (err) {
- pr_warn("Unable to allocate port at %x, errno %i", ser->port, err);
+ pr_warn("Unable to allocate port at %lx, errno %i", ser->port, err);
return NULL;
}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-13 20:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13 20:10 [PATCH -next] staging/speakup: 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
Powered by JetHome