summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-10-07 14:36:43 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 05:17:01 +0200
commit2b361ab6d54ddd4322d730ecbee25ab4b98aa36f (patch)
tree6df7b87e8965e46667dc041b58ca685f2502a585 /drivers
parent[media] videobuf-dma-sg: Use min_t(size_t, PAGE_SIZE ..) (diff)
downloadlinux-2b361ab6d54ddd4322d730ecbee25ab4b98aa36f.tar.xz
linux-2b361ab6d54ddd4322d730ecbee25ab4b98aa36f.zip
[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 <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/lirc/lirc_igorplugusb.c2
1 files changed, 1 insertions, 1 deletions
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);