Skip to content

Commit

Permalink
ASoC: soc-dapm: Use '%llx' with 'u64' type.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Mark Brown committed Apr 16, 2012
1 parent c74184e commit 516541a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 516541a

Please sign in to comment.