[alsa-devel] [PATCH] ASoC: wm_adsp: Correct type specifier in printf

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Thu Mar 6 11:00:18 CET 2014


Signed-off-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm_adsp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index 937af6f..bb5f7b4 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -706,7 +706,7 @@ static int wm_adsp_load(struct wm_adsp *dsp)
 							     to_write);
 				if (ret != 0) {
 					adsp_err(dsp,
-						"%s.%d: Failed to write %d bytes at %d in %s: %d\n",
+						"%s.%d: Failed to write %zd bytes at %d in %s: %d\n",
 						file, regions,
 						to_write, offset,
 						region_name, ret);
-- 
1.7.2.5



More information about the Alsa-devel mailing list