ASoC: soc-dapm: Use '%llx' with 'u64' type.
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 16 Apr 2012 13:53:09 +0000 (10:53 -0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 Apr 2012 18:36:46 +0000 (19:36 +0100)
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 <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-dapm.c

index 96a10dc4c00575407876a947635ee1e47bb7f2bf..d7ee73a60ca556a1d41ee9c576d1ca0ae50cb127 100644 (file)
@@ -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;
        }