diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-25 03:35:48 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-26 13:51:00 +0400 |
commit | 339f06c5d354c4c89814f11d0c3393f198b3dd00 (patch) | |
tree | e27fb1f85facd6ec8ffd304680ec71b62b683558 /drivers/media/pci/ivtv/ivtv-firmware.c | |
parent | 35f30f36a7e66caa0973a4db620b4245df2cf428 (diff) | |
download | linux-339f06c5d354c4c89814f11d0c3393f198b3dd00.tar.xz |
[media] pci drivers: use %zu instead of %zd
size_t is unsigned.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/ivtv/ivtv-firmware.c')
-rw-r--r-- | drivers/media/pci/ivtv/ivtv-firmware.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/ivtv/ivtv-firmware.c b/drivers/media/pci/ivtv/ivtv-firmware.c index ed73edd2bcd3..4b0e758a7bce 100644 --- a/drivers/media/pci/ivtv/ivtv-firmware.c +++ b/drivers/media/pci/ivtv/ivtv-firmware.c @@ -65,7 +65,7 @@ retry: the wrong file was sometimes loaded. So we check filesizes to see if at least the right-sized file was loaded. If not, then we retry. */ - IVTV_INFO("Retry: file loaded was not %s (expected size %ld, got %zd)\n", fn, size, fw->size); + IVTV_INFO("Retry: file loaded was not %s (expected size %ld, got %zu)\n", fn, size, fw->size); release_firmware(fw); retries--; goto retry; @@ -76,7 +76,7 @@ retry: dst++; src++; } - IVTV_INFO("Loaded %s firmware (%zd bytes)\n", fn, fw->size); + IVTV_INFO("Loaded %s firmware (%zu bytes)\n", fn, fw->size); release_firmware(fw); return size; } |