projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35e6044
)
ASoC: Fix a compile warning for printk format
author
Takashi Iwai
<tiwai@suse.de>
Mon, 27 Sep 2010 06:13:25 +0000
(08:13 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 27 Sep 2010 06:18:13 +0000
(08:18 +0200)
sound/soc/codecs/wm8985.c: In function 'wm8985_hw_params':
sound/soc/codecs/wm8985.c:731:2: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
Actually the variable is fine as int.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/wm8985.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8985.c
b/sound/soc/codecs/wm8985.c
index
b94af96
..
6658c94
100644
(file)
--- a/
sound/soc/codecs/wm8985.c
+++ b/
sound/soc/codecs/wm8985.c
@@
-644,7
+644,7
@@
static int wm8985_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params,
struct snd_soc_dai *dai)
{
-
size_
t i;
+
in
t i;
struct snd_soc_codec *codec;
struct wm8985_priv *wm8985;
u16 blen, srate_idx;