Skip to contentSkip to conversation

sound/vxpocket: fix printk warning

PATCH In review Randy.Dunlap 2 participants 2 messages Jun 8, 2006 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound/vxpocket: fix printk warning

From: Randy Dunlap <[email protected]>

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'

---
 sound/pcmcia/vx/vxp_ops.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
sound/pcmcia/vx/vxp_ops.c +1 -1
@@ -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);
 

---

#1 lore raw

At Wed, 7 Jun 2006 21:22:17 -0700,

Quoted 7 lines · Randy.Dunlap

From: Randy Dunlap <[email protected]>

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'

Thanks, added to ALSA tree now.

Takashi

Quoted 18 lines
---
 sound/pcmcia/vx/vxp_ops.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
sound/pcmcia/vx/vxp_ops.c +1 -2
@@ -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);
 
 
---