From: Fabio Estevam Date: Mon, 16 Apr 2012 13:53:09 +0000 (-0300) Subject: ASoC: soc-dapm: Use '%llx' with 'u64' type. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=516541a00c6a6bced133158f0146b602a18dcbe5;p=deliverable%2Flinux.git ASoC: soc-dapm: Use '%llx' with 'u64' type. Fix the following build warning: sound/soc/soc-dapm.c: In function 'snd_soc_dai_link_event': sound/soc/soc-dapm.c:2913: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'u64' '%llx' should be used with 'u64' type. Signed-off-by: Fabio Estevam Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 96a10dc4c005..d7ee73a60ca5 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -2907,7 +2907,7 @@ static int snd_soc_dai_link_event(struct snd_soc_dapm_widget *w, if (config->formats) { fmt = ffs(config->formats) - 1; } else { - dev_warn(w->dapm->dev, "Invalid format %lx specified\n", + dev_warn(w->dapm->dev, "Invalid format %llx specified\n", config->formats); fmt = 0; }