From: Mauro Carvalho Chehab Date: Thu, 7 Oct 2010 12:36:43 +0000 (-0300) Subject: [media] lirc_igorplugusb: Fix a compilation waring X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2b361ab6d54ddd4322d730ecbee25ab4b98aa36f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] lirc_igorplugusb: Fix a compilation waring drivers/staging/lirc/lirc_igorplugusb.c: In function ‘usb_remote_probe’: drivers/staging/lirc/lirc_igorplugusb.c:393: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/lirc/lirc_igorplugusb.c b/drivers/staging/lirc/lirc_igorplugusb.c index bce600ede263..e680d8897106 100644 --- a/drivers/staging/lirc/lirc_igorplugusb.c +++ b/drivers/staging/lirc/lirc_igorplugusb.c @@ -390,7 +390,7 @@ static int usb_remote_probe(struct usb_interface *intf, devnum = dev->devnum; maxp = usb_maxpacket(dev, pipe, usb_pipeout(pipe)); - dprintk(DRIVER_NAME "[%d]: bytes_in_key=%lu maxp=%d\n", + dprintk(DRIVER_NAME "[%d]: bytes_in_key=%zu maxp=%d\n", devnum, CODE_LENGTH, maxp);