summaryrefslogtreecommitdiff
path: root/drivers/staging/speakup
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-10-13 13:10:49 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-14 12:14:10 -0700
commit0a652b96287ef61c97a2acab2bcc3d0f319b50e4 (patch)
tree2c400d217d166bf74b6b0398b8adfe3dbfcd94eb /drivers/staging/speakup
parent6566961fcb651e6081aff9eabf4362d1b3821482 (diff)
staging: speakup: fix printk format warning
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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r--drivers/staging/speakup/serialio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/serialio.c b/drivers/staging/speakup/serialio.c
index bafd62fc203d..65772ec3822d 100644
--- a/drivers/staging/speakup/serialio.c
+++ b/drivers/staging/speakup/serialio.c
@@ -41,7 +41,7 @@ struct serial_state *spk_serial_init(int index)
__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;
}
}