Messages in this thread Patch in this message | | | From | Alon Bar-Lev <> | Subject | [PATCH 32/34] __initdata cleanup - scsi | Date | Fri, 9 Feb 2007 17:34:35 +0200 |
| |
Trivial.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Signed-off-by: Bernhard Walle <bwalle@suse.de>
---
diff -urNp linux-2.6.20-rc6-mm3.org/drivers/scsi/aha1542.c linux-2.6.20-rc6-mm3/drivers/scsi/aha1542.c --- linux-2.6.20-rc6-mm3.org/drivers/scsi/aha1542.c 2007-01-25 04:19:28.000000000 +0200 +++ linux-2.6.20-rc6-mm3/drivers/scsi/aha1542.c 2007-01-31 22:19:30.000000000 +0200 @@ -943,7 +943,7 @@ fail: } #ifndef MODULE -static char *setup_str[MAXBOARDS] __initdata; +static char *setup_str[MAXBOARDS] __initdata = {0}; static int setup_idx = 0; static void __init aha1542_setup(char *str, int *ints) diff -urNp linux-2.6.20-rc6-mm3.org/drivers/scsi/pluto.c linux-2.6.20-rc6-mm3/drivers/scsi/pluto.c --- linux-2.6.20-rc6-mm3.org/drivers/scsi/pluto.c 2007-01-25 04:19:28.000000000 +0200 +++ linux-2.6.20-rc6-mm3/drivers/scsi/pluto.c 2007-01-31 22:19:30.000000000 +0200 @@ -47,7 +47,7 @@ static struct ctrl_inquiry { Scsi_Cmnd cmd; char inquiry[256]; fc_channel *fc; -} *fcs __initdata; +} *fcs __initdata = NULL; static int fcscount __initdata = 0; static atomic_t fcss __initdata = ATOMIC_INIT(0); DECLARE_MUTEX_LOCKED(fc_sem); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |