aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-25 08:49:19 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 13:01:24 -0400
commited6a209024c23dbb39bfaa7361eb0b9c3fcc2b93 (patch)
treea60f8ec403024654016729e1043f46e80945e0fd /drivers/net/irda
parent9e37bd301ee130598fa1406c1281caa159473bf8 (diff)
[PATCH] irda-usb printk fix
drivers/net/irda/irda-usb.c: In function 'stir421x_patch_device': drivers/net/irda/irda-usb.c:1108: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'size_t' Cc: Greg KH <greg@kroah.com> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/irda')
-rw-r--r--drivers/net/irda/irda-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c
index 844fa74ac9ec..2a0d538b387f 100644
--- a/drivers/net/irda/irda-usb.c
+++ b/drivers/net/irda/irda-usb.c
@@ -1105,7 +1105,7 @@ static int stir421x_patch_device(struct irda_usb_cb *self)
1105 return ret; 1105 return ret;
1106 1106
1107 /* We get a patch from userspace */ 1107 /* We get a patch from userspace */
1108 IRDA_MESSAGE("%s(): Received firmware %s (%u bytes)\n", 1108 IRDA_MESSAGE("%s(): Received firmware %s (%zu bytes)\n",
1109 __FUNCTION__, stir421x_fw_name, fw->size); 1109 __FUNCTION__, stir421x_fw_name, fw->size);
1110 1110
1111 ret = -EINVAL; 1111 ret = -EINVAL;