summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-13 16:09:58 +0900
committerDavid S. Miller <davem@davemloft.net>2014-02-13 18:40:37 -0500
commit6726d971def461eded39cccce24d28f90a2e6df4 (patch)
treef20d88f3c793b086a3ee5bb4df8a3fd89c3894c2 /drivers/net/usb
parent219e288e8900fac65211e0a23e2a1037fd521af1 (diff)
downloadlinux-6726d971def461eded39cccce24d28f90a2e6df4.tar.bz2
USB2NET: SR9800: use %zu for size_t
Use %zu for size_t in order to avoid the following build warning in printks. drivers/net/usb/sr9800.c: In function 'sr9800_bind' drivers/net/usb/sr9800.c:826:2: warning: format '%ld' expects argument of type 'long int' but argument 5 has type 'size_t' [-Wformat] Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r--drivers/net/usb/sr9800.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/sr9800.c b/drivers/net/usb/sr9800.c
index 4175eb9fdeca..801710883727 100644
--- a/drivers/net/usb/sr9800.c
+++ b/drivers/net/usb/sr9800.c
@@ -823,7 +823,7 @@ static int sr9800_bind(struct usbnet *dev, struct usb_interface *intf)
dev->rx_urb_size =
SR9800_BULKIN_SIZE[SR9800_MAX_BULKIN_2K].size;
}
- netdev_dbg(dev->net, "%s : setting rx_urb_size with : %ld\n", __func__,
+ netdev_dbg(dev->net, "%s : setting rx_urb_size with : %zu\n", __func__,
dev->rx_urb_size);
return 0;