[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1201232113400.8772@swampdragon.chaosbits.net>
Date: Mon, 23 Jan 2012 21:15:48 +0100 (CET)
From: Jesper Juhl <jj@...osbits.net>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
cc: Takashi Iwai <tiwai@...e.de>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org, Jaroslav Kysela <perex@...ex.cz>,
Liam Girdwood <lrg@...com>,
Dimitris Papastamos <dp@...nsource.wolfsonmicro.com>,
Ian Lartey <ian@...nsource.wolfsonmicro.com>
Subject: [PATCH] Sound WM8958 DSP2: Use correct format string in dev_err()
call
To print a value of type size_t one should use %zd, not %d.
Signed-off-by: Jesper Juhl <jj@...osbits.net>
---
sound/soc/codecs/wm8958-dsp2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/codecs/wm8958-dsp2.c b/sound/soc/codecs/wm8958-dsp2.c
index 8d4ea43..40ac888 100644
--- 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 (%zd bytes)\n",
name, fw->size);
goto err;
}
--
1.7.8.4
--
Jesper Juhl <jj@...osbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists