Skip to contentSkip to conversation

Fix compilation warning for sound/drivers/serial/u16550.c

PATCH In review Subrata Modak 1 participant 1 message Jul 15, 2009 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 6/6 Fix compilation warning for sound/drivers/serial/u16550.c

Following fix is inspired by David Howells fix few days back:
http://lkml.org/lkml/2009/7/9/109,

---

sound/drivers/serial-u16550.c +1 -1
@@ -902,7 +902,7 @@ static int __devinit snd_uart16550_rmidi
 static int __devinit snd_serial_probe(struct platform_device *devptr)
 {
 	struct snd_card *card;
-	struct snd_uart16550 *uart;
+	struct snd_uart16550 *uninitialized_var(uart);
 	int err;
 	int dev = devptr->id;
 

---
Regards--
Subrata