projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a14304e
)
ASoC: wm8958: Use correct format string in dev_err() call
author
Jesper Juhl
<jj@chaosbits.net>
Mon, 23 Jan 2012 20:15:48 +0000
(21:15 +0100)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 23 Jan 2012 21:10:22 +0000
(21:10 +0000)
To print a value of type size_t one should use %zd, not %d.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8958-dsp2.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8958-dsp2.c
b/sound/soc/codecs/wm8958-dsp2.c
index
8d4ea43
..
40ac888
100644
(file)
--- a/
sound/soc/codecs/wm8958-dsp2.c
+++ b/
sound/soc/codecs/wm8958-dsp2.c
@@
-55,7
+55,7
@@
static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name,
return 0;
if (fw->size < 32) {
- dev_err(codec->dev, "%s: firmware too short (%d bytes)\n",
+ dev_err(codec->dev, "%s: firmware too short (%
z
d bytes)\n",
name, fw->size);
goto err;
}