USB2NET : SR9800 : Use %zu to format size_t
Subsystems (3)
PATCH 1/1 USB2NET : SR9800 : Use %zu to format size_t
On 32-bit:
drivers/md/bcache/bset.c: In function ‘bch_dump_bset’:drivers/md/bcache/bset.c:27: warning: format ‘%li’ expects type ‘long int’, but argument 3 has type ‘int’
Signed-off-by Geert Uytterhoeven <[email protected]>
--- drivers/net/usb/sr9800.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/usb/sr9800.c +1 -1
@@ -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 ;
Signature · 1 line
1.7.9.5
David Miller
maintainerAlready fixed in the net tree.