[PATCH] sound/vxpocket: fix printk warning

From: Randy.Dunlap
Date: Thu Jun 08 2006 - 00:26:54 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Fix printk format warning:
sound/pcmcia/vx/vxp_ops.c:205: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'size_t'

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
---
sound/pcmcia/vx/vxp_ops.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2617-rc6.orig/sound/pcmcia/vx/vxp_ops.c
+++ linux-2617-rc6/sound/pcmcia/vx/vxp_ops.c
@@ -202,7 +202,7 @@ static int vxp_load_xilinx_binary(struct
c |= (int)vx_inb(chip, RXM) << 8;
c |= vx_inb(chip, RXL);

- snd_printdd(KERN_DEBUG "xilinx: dsp size received 0x%x, orig 0x%x\n", c, fw->size);
+ snd_printdd(KERN_DEBUG "xilinx: dsp size received 0x%x, orig 0x%Zx\n", c, fw->size);

vx_outb(chip, ICR, ICR_HF0);


---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/