diff options
-rw-r--r-- | drivers/media/dvb/siano/smscoreapi.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/siano/smsusb.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/siano/smscoreapi.c b/drivers/media/dvb/siano/smscoreapi.c index 14475c8a7222..c54c7180e39e 100644 --- a/drivers/media/dvb/siano/smscoreapi.c +++ b/drivers/media/dvb/siano/smscoreapi.c | |||
@@ -601,7 +601,7 @@ static int smscore_load_firmware_from_file(struct smscore_device_t *coredev, | |||
601 | sms_info("failed to open \"%s\"", filename); | 601 | sms_info("failed to open \"%s\"", filename); |
602 | return rc; | 602 | return rc; |
603 | } | 603 | } |
604 | sms_info("read FW %s, size=%d", filename, fw->size); | 604 | sms_info("read FW %s, size=%zd", filename, fw->size); |
605 | fw_buffer = kmalloc(ALIGN(fw->size, SMS_ALLOC_ALIGNMENT), | 605 | fw_buffer = kmalloc(ALIGN(fw->size, SMS_ALLOC_ALIGNMENT), |
606 | GFP_KERNEL | GFP_DMA); | 606 | GFP_KERNEL | GFP_DMA); |
607 | if (fw_buffer) { | 607 | if (fw_buffer) { |
diff --git a/drivers/media/dvb/siano/smsusb.c b/drivers/media/dvb/siano/smsusb.c index 0f9f5d585e37..b62ca96dfbec 100644 --- a/drivers/media/dvb/siano/smsusb.c +++ b/drivers/media/dvb/siano/smsusb.c | |||
@@ -209,14 +209,14 @@ static int smsusb1_load_firmware(struct usb_device *udev, int id) | |||
209 | rc = usb_bulk_msg(udev, usb_sndbulkpipe(udev, 2), | 209 | rc = usb_bulk_msg(udev, usb_sndbulkpipe(udev, 2), |
210 | fw_buffer, fw->size, &dummy, 1000); | 210 | fw_buffer, fw->size, &dummy, 1000); |
211 | 211 | ||
212 | sms_info("sent %d(%d) bytes, rc %d", fw->size, dummy, rc); | 212 | sms_info("sent %zd(%d) bytes, rc %d", fw->size, dummy, rc); |
213 | 213 | ||
214 | kfree(fw_buffer); | 214 | kfree(fw_buffer); |
215 | } else { | 215 | } else { |
216 | sms_err("failed to allocate firmware buffer"); | 216 | sms_err("failed to allocate firmware buffer"); |
217 | rc = -ENOMEM; | 217 | rc = -ENOMEM; |
218 | } | 218 | } |
219 | sms_info("read FW %s, size=%d", smsusb1_fw_lkup[id], fw->size); | 219 | sms_info("read FW %s, size=%zd", smsusb1_fw_lkup[id], fw->size); |
220 | 220 | ||
221 | release_firmware(fw); | 221 | release_firmware(fw); |
222 | 222 | ||