aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/aircable.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-08-26 13:56:10 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-27 14:58:59 -0400
commit8ac283ad415358f022498887811c35ac656b5222 (patch)
tree3e8d45622a994bdc69f444d58beee08558cf108c /drivers/usb/serial/aircable.c
parent3fe70ba2272c123cf38e4c577bf220f8bcf25366 (diff)
aircable: fix printk format warnings
Fix printk format warnings: drivers/usb/serial/aircable.c:221: warning: format ‘%Zd’ expects type ‘signed size_t’, but argument 4 has type ‘int’ drivers/usb/serial/aircable.c:283: warning: format ‘%Zd’ expects type ‘signed size_t’, but argument 4 has type ‘int’ Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/aircable.c')
-rw-r--r--drivers/usb/serial/aircable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/aircable.c b/drivers/usb/serial/aircable.c
index 8aaf7db93992..2ccd9ded52a5 100644
--- a/drivers/usb/serial/aircable.c
+++ b/drivers/usb/serial/aircable.c
@@ -218,7 +218,7 @@ static void aircable_send(struct usb_serial_port *port)
218 218
219 buf = kzalloc(count + HCI_HEADER_LENGTH, GFP_ATOMIC); 219 buf = kzalloc(count + HCI_HEADER_LENGTH, GFP_ATOMIC);
220 if (!buf) { 220 if (!buf) {
221 err("%s- kzalloc(%Zd) failed.", __FUNCTION__, 221 err("%s- kzalloc(%d) failed.", __FUNCTION__,
222 count + HCI_HEADER_LENGTH); 222 count + HCI_HEADER_LENGTH);
223 return; 223 return;
224 } 224 }
@@ -280,7 +280,7 @@ static void aircable_read(void *params)
280 280
281 tty_prepare_flip_string(tty, &data, count); 281 tty_prepare_flip_string(tty, &data, count);
282 if (!data){ 282 if (!data){
283 err("%s- kzalloc(%Zd) failed.", __FUNCTION__, count); 283 err("%s- kzalloc(%d) failed.", __FUNCTION__, count);
284 return; 284 return;
285 } 285 }
286 286