From: Mauro Carvalho Chehab Date: Thu, 7 Oct 2010 12:36:43 +0000 (-0300) Subject: [media] lirc_igorplugusb: Fix a compilation waring X-Git-Tag: staging/for_v2.6.37-rc1~306 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b361ab6d54ddd4322d730ecbee25ab4b98aa36f;p=profile%2Fivi%2Fkernel-x86-ivi.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 bce600e..e680d88 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);