Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabio Estevam and committed by
Mark Brown
516541a0 c74184ed

+1 -1
+1 -1
sound/soc/soc-dapm.c
··· 2907 2907 if (config->formats) { 2908 2908 fmt = ffs(config->formats) - 1; 2909 2909 } else { 2910 - dev_warn(w->dapm->dev, "Invalid format %lx specified\n", 2910 + dev_warn(w->dapm->dev, "Invalid format %llx specified\n", 2911 2911 config->formats); 2912 2912 fmt = 0; 2913 2913 }