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>
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;
}
tty_prepare_flip_string(tty, &data, count);
if (!data){
- err("%s- kzalloc(%Zd) failed.", __FUNCTION__, count);
+ err("%s- kzalloc(%d) failed.", __FUNCTION__, count);
return;
}