Skip to content

Commit

Permalink
aircable: fix printk format warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed Sep 27, 2006
1 parent 3fe70ba commit 8ac283a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/serial/aircable.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ static void aircable_send(struct usb_serial_port *port)

buf = kzalloc(count + HCI_HEADER_LENGTH, GFP_ATOMIC);
if (!buf) {
err("%s- kzalloc(%Zd) failed.", __FUNCTION__,
err("%s- kzalloc(%d) failed.", __FUNCTION__,
count + HCI_HEADER_LENGTH);
return;
}
Expand Down Expand Up @@ -280,7 +280,7 @@ static void aircable_read(void *params)

tty_prepare_flip_string(tty, &data, count);
if (!data){
err("%s- kzalloc(%Zd) failed.", __FUNCTION__, count);
err("%s- kzalloc(%d) failed.", __FUNCTION__, count);
return;
}

Expand Down

0 comments on commit 8ac283a

Please sign in to comment.