mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 05:26:46 +07:00
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:
parent
a14304edcd
commit
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user