diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-04-16 10:53:09 -0300 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-16 19:36:46 +0100 |
commit | 516541a00c6a6bced133158f0146b602a18dcbe5 (patch) | |
tree | 799aa2d726f51db6511726ae65a1c63c2f6e6b07 /sound | |
parent | c74184ed30ecce2a5e9ae9aa22cb5e3942e0c7c7 (diff) | |
download | linux-stable-516541a00c6a6bced133158f0146b602a18dcbe5.tar.gz linux-stable-516541a00c6a6bced133158f0146b602a18dcbe5.tar.bz2 linux-stable-516541a00c6a6bced133158f0146b602a18dcbe5.zip |
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 <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-dapm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |