Commit 678916ec authored by Takashi Iwai's avatar Takashi Iwai Committed by Mark Brown

ASoC: max98390: Fix incorrect printf qualifier

This patch addresses a compile warning:
  sound/soc/codecs/max98390.c:781:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘size_t {aka const unsigned int}’ [-Wformat=]

Fixes: a6e3f4f3 ("ASoC: max98390: Added Amplifier Driver")
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20200602164453.29925-1-tiwai@suse.deSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent e396dec4
......@@ -778,7 +778,7 @@ static int max98390_dsm_init(struct snd_soc_component *component)
}
dev_dbg(component->dev,
"max98390: param fw size %ld\n",
"max98390: param fw size %zd\n",
fw->size);
dsm_param = (char *)fw->data;
dsm_param += MAX98390_DSM_PAYLOAD_OFFSET;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment