[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1220053560-15803-1-git-send-email-yhlu.kernel@gmail.com>
Date: Fri, 29 Aug 2008 16:46:00 -0700
From: Yinghai Lu <yhlu.kernel@...il.com>
To: Ingo Molnar <mingo@...e.hu>, Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Stephen Rothwell <sfr@...b.auug.org.au>
Cc: linux-kernel@...r.kernel.org, Yinghai Lu <yhlu.kernel@...il.com>
Subject: [PATCH] dyn_array: fix typo
Andrew found the typo could break some platforms
also fix one checkpatch warning
Signed-off-by: Yinghai Lu <yhlu.kernel@...il.com>
diff --git a/init/dyn_array.c b/init/dyn_array.c
index c4cd902..8192a1c 100644
--- a/init/dyn_array.c
+++ b/init/dyn_array.c
@@ -54,7 +54,7 @@ void __init pre_alloc_dyn_array(void)
da->init_work(da);
}
#else
-#ifdef CONFIF_GENERIC_HARDIRQS
+#ifdef CONFIG_GENERIC_HARDIRQS
unsigned int i;
for (i = 0; i < NR_IRQS; i++)
@@ -116,9 +116,8 @@ void __init per_cpu_alloc_dyn_array(int cpu, char *ptr)
phys += size;
- if (da->init_work) {
+ if (da->init_work)
da->init_work(da);
- }
}
#endif
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists