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

[ALSA] serial-uart16550 - Fix a compile warning

Modules: Generic drivers

Fix a gcc-4.1 compile warning regarding uninitialized variables.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 91134859
......@@ -789,7 +789,7 @@ static int __init snd_uart16550_create(struct snd_card *card,
if ((err = snd_uart16550_detect(uart)) <= 0) {
printk(KERN_ERR "no UART detected at 0x%lx\n", iobase);
return err;
return -ENODEV;
}
if (irq >= 0 && irq != SNDRV_AUTO_IRQ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册