提交 516541a0 编写于 作者: F Fabio Estevam 提交者: Mark Brown

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: NFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 c74184ed
...@@ -2907,7 +2907,7 @@ static int snd_soc_dai_link_event(struct snd_soc_dapm_widget *w, ...@@ -2907,7 +2907,7 @@ static int snd_soc_dai_link_event(struct snd_soc_dapm_widget *w,
if (config->formats) { if (config->formats) {
fmt = ffs(config->formats) - 1; fmt = ffs(config->formats) - 1;
} else { } else {
dev_warn(w->dapm->dev, "Invalid format %lx specified\n", dev_warn(w->dapm->dev, "Invalid format %llx specified\n",
config->formats); config->formats);
fmt = 0; fmt = 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册