ASoC: wm8958: Use correct format string in dev_err() call
To print a value of type size_t one should use %zd, not %d. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Родитель
a14304edcd
Коммит
7edf1a4f27
|
@ -55,7 +55,7 @@ static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name,
|
|||
return 0;
|
||||
|
||||
if (fw->size < 32) {
|
||||
dev_err(codec->dev, "%s: firmware too short (%d bytes)\n",
|
||||
dev_err(codec->dev, "%s: firmware too short (%zd bytes)\n",
|
||||
name, fw->size);
|
||||
goto err;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче