summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGianluca Gennari <gennarone@gmail.com>2012-04-02 20:32:58 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-04-09 14:46:15 -0300
commit6ec12988c022bee4af28a5d3941a01f9e78a96e9 (patch)
tree4dabc99852e01437081dd6ee8f92881ce485d9d6 /drivers
parentb1a9599a0d228d6555ad9e5c1fe0b0dfac7c5ccb (diff)
[media] af9035: fix warning
On a 32 bit system: af9035.c: In function 'af9035_download_firmware': af9035.c:446:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat] %zu avoids any warning on both 32 and 64 bit systems. Signed-off-by: Gianluca Gennari <gennarone@gmail.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-usb/af9035.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9035.c b/drivers/media/dvb/dvb-usb/af9035.c
index 92d27aa80800..d5c1fa7947ac 100644
--- a/drivers/media/dvb/dvb-usb/af9035.c
+++ b/drivers/media/dvb/dvb-usb/af9035.c
@@ -440,7 +440,7 @@ static int af9035_download_firmware(struct usb_device *udev,
i -= hdr_data_len + HDR_SIZE;
- pr_debug("%s: data uploaded=%lu\n", __func__, fw->size - i);
+ pr_debug("%s: data uploaded=%zu\n", __func__, fw->size - i);
}
/* firmware loaded, request boot */