From: Takashi Iwai Date: Tue, 2 Jun 2020 16:44:53 +0000 (+0200) Subject: ASoC: max98390: Fix incorrect printf qualifier X-Git-Tag: v5.15~2585^2~131^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=678916ec54f38406032462dc466fd36cdfea4e3c;p=platform%2Fkernel%2Flinux-starfive.git 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: a6e3f4f34cdb ("ASoC: max98390: Added Amplifier Driver") Signed-off-by: Takashi Iwai Acked-by: Mark Brown Link: https://lore.kernel.org/r/20200602164453.29925-1-tiwai@suse.de Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/max98390.c b/sound/soc/codecs/max98390.c index b9ce44d..be7cd0a 100644 --- a/sound/soc/codecs/max98390.c +++ b/sound/soc/codecs/max98390.c @@ -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;