From: Randy Dunlap <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/usb/serial/aircable.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/serial/aircable.c b/drivers/usb/serial/aircable.c
index 8aaf7db..2ccd9de 100644
--- a/drivers/usb/serial/aircable.c
+++ b/drivers/usb/serial/aircable.c
@@ -218,7 +218,7 @@ static void aircable_send(struct usb_ser
 
        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;
        }
@@ -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;
        }
 
-- 
1.4.2.1


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to