forked from Minki/linux
[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>
This commit is contained in:
parent
9e37bd301e
commit
ed6a209024
@ -1105,7 +1105,7 @@ static int stir421x_patch_device(struct irda_usb_cb *self)
|
||||
return ret;
|
||||
|
||||
/* We get a patch from userspace */
|
||||
IRDA_MESSAGE("%s(): Received firmware %s (%u bytes)\n",
|
||||
IRDA_MESSAGE("%s(): Received firmware %s (%zu bytes)\n",
|
||||
__FUNCTION__, stir421x_fw_name, fw->size);
|
||||
|
||||
ret = -EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user