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

From: Subrata Modak
Date: Tue Jul 14 2009 - 22:21:52 EST


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@xxxxxxxxxxxxxxxxxx>,
---

--- 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/