Skip to content

Commit

Permalink
ASoC: wm8958: Use correct format string in dev_err() call
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jesper Juhl authored and Mark Brown committed Jan 23, 2012
1 parent a14304e commit 7edf1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8958-dsp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 (%zd bytes)\n",
name, fw->size);
goto err;
}
Expand Down

0 comments on commit 7edf1a4

Please sign in to comment.