Skip to content

Commit

Permalink
staging: speakup: fix printk format warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed Oct 14, 2010
1 parent 6566961 commit 0a652b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/speakup/serialio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 0a652b9

Please sign in to comment.