lkml.org 
[lkml]   [2010]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -next] sound/soc: fix printk format warning
From: Randy Dunlap <randy.dunlap@oracle.com>

Fix dev_printk format warning:

sound/soc/codecs/wm8985.c:731: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
sound/soc/codecs/wm8985.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20100927.orig/sound/soc/codecs/wm8985.c
+++ linux-next-20100927/sound/soc/codecs/wm8985.c
@@ -728,7 +728,7 @@ static int wm8985_hw_params(struct snd_p
return -EINVAL;
}

- dev_dbg(dai->dev, "BCLK div = %d\n", i);
+ dev_dbg(dai->dev, "BCLK div = %zd\n", i);
snd_soc_update_bits(codec, WM8985_CLOCK_GEN_CONTROL,
WM8985_BCLKDIV_MASK, i << WM8985_BCLKDIV_SHIFT);
return 0;

\
 
 \ /
  Last update: 2010-09-28 19:05    [from the cache]
©2003-2011 Jasper Spaans