[PATCH 21/34] __initdata cleanup - aes

From: Alon Bar-Lev
Date: Fri Feb 09 2007 - 10:42:16 EST



Trivial.

Signed-off-by: Alon Bar-Lev <alon.barlev@xxxxxxxxx>
Signed-off-by: Bernhard Walle <bwalle@xxxxxxx>

---

diff -urNp linux-2.6.20-rc6-mm3.org/crypto/aes.c linux-2.6.20-rc6-mm3/crypto/aes.c
--- linux-2.6.20-rc6-mm3.org/crypto/aes.c 2007-01-25 04:19:28.000000000 +0200
+++ linux-2.6.20-rc6-mm3/crypto/aes.c 2007-01-31 22:19:30.000000000 +0200
@@ -81,10 +81,10 @@ struct aes_ctx {
#define E_KEY (&ctx->buf[0])
#define D_KEY (&ctx->buf[60])

-static u8 pow_tab[256] __initdata;
-static u8 log_tab[256] __initdata;
-static u8 sbx_tab[256] __initdata;
-static u8 isb_tab[256] __initdata;
+static u8 pow_tab[256] __initdata = {0};
+static u8 log_tab[256] __initdata = {0};
+static u8 sbx_tab[256] __initdata = {0};
+static u8 isb_tab[256] __initdata = {0};
static u32 rco_tab[10];
static u32 ft_tab[4][256];
static u32 it_tab[4][256];
-
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/