linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i7core_edac: fix erroneous size of static array
@ 2011-10-13 18:24 Niklas Söderlund
  2011-10-13 18:56 ` Borislav Petkov
  2011-10-13 20:52 ` [PATCHv2] " Niklas Söderlund
  0 siblings, 2 replies; 12+ messages in thread
From: Niklas Söderlund @ 2011-10-13 18:24 UTC (permalink / raw)
  To: mchehab; +Cc: linux-edac, linux-kernel, Niklas Söderlund

Signed-off-by: Niklas Söderlund <niso@kth.se>
---
 drivers/edac/i7core_edac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index 70ad892..e0f6096 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -441,7 +441,7 @@ static inline int numrow(u32 row)
 
 static inline int numcol(u32 col)
 {
-	static int cols[8] = {
+	static int cols[4] = {
 		1 << 10, 1 << 11, 1 << 12, -EINVAL,
 	};
 	return cols[col & 0x3];
-- 
1.7.7


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-01-29 22:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-13 18:24 [PATCH] i7core_edac: fix erroneous size of static array Niklas Söderlund
2011-10-13 18:56 ` Borislav Petkov
2011-10-13 19:03   ` Luck, Tony
2011-10-13 19:14     ` Borislav Petkov
2011-10-13 20:04       ` Mauro Carvalho Chehab
2011-10-13 20:03   ` Niklas Söderlund
2011-10-13 20:06     ` Mauro Carvalho Chehab
2011-10-13 20:52 ` [PATCHv2] " Niklas Söderlund
2012-01-29  1:26   ` Niklas Söderlund
2012-01-29  2:01     ` Jesper Juhl
2012-01-29 22:04       ` [PATCHv3] " Niklas Söderlund
2012-01-29 22:14         ` Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).