[alsa-devel] [PATCH 06/06] Fix compilation warning for sound/drivers/serial/u16550.c

Subrata Modak subrata at linux.vnet.ibm.com
Wed Jul 15 04:21:28 CEST 2009


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

Signed-off-by: Subrata Modak<subrata at linux.vnet.ibm.com>,
---

--- a/sound/drivers/serial-u16550.c	2009-05-20 10:48:23.000000000 +0530
+++ b/sound/drivers/serial-u16550.c	2009-07-15 06:46:48.000000000 +0530
@@ -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



More information about the Alsa-devel mailing list