staging/speakup: fix printk format warning
PATCH 1/1 staging/speakup: fix printk format warning
From: Randy Dunlap <[email protected]>
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 <[email protected]>
--- drivers/staging/speakup/serialio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/serialio.c +1 -1
@@ -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 ; } }