提交 bbb53551 编写于 作者: T Takashi Iwai 提交者: Jaroslav Kysela

[ALSA] emu10k1 - Fix compile warning

Fixed a compile warning regarding print format for size_t.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@suse.cz>
上级 9244b2c3
...@@ -615,7 +615,7 @@ static int snd_emu1010_load_firmware(struct snd_emu10k1 * emu, const char * file ...@@ -615,7 +615,7 @@ static int snd_emu1010_load_firmware(struct snd_emu10k1 * emu, const char * file
snd_printk(KERN_ERR "firmware: %s not found. Err=%d\n",filename, err); snd_printk(KERN_ERR "firmware: %s not found. Err=%d\n",filename, err);
return err; return err;
} }
snd_printk(KERN_INFO "firmware size=0x%x\n",fw_entry->size); snd_printk(KERN_INFO "firmware size=0x%zx\n", fw_entry->size);
if (fw_entry->size != 0x133a4) { if (fw_entry->size != 0x133a4) {
snd_printk(KERN_ERR "firmware: %s wrong size.\n",filename); snd_printk(KERN_ERR "firmware: %s wrong size.\n",filename);
return -EINVAL; return -EINVAL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册