]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
edac cell: fix incorrect edac_mode
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 20 Oct 2008 16:50:07 +0000 (16:50 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 25 Oct 2008 21:32:36 +0000 (14:32 -0700)
commit204d439e5c39809d05f15b93cfabac1cbb99e1a7
treedfe304d040086df6955964e2017dbe3d076c349a
parenta2d18f62f58e8b5128c4ac7173ac15a8fa559b9c
edac cell: fix incorrect edac_mode

commit 3b274f44d2ca05f719fe39947b6a5293a2dbd8fd upstream

The cell_edac driver is setting the edac_mode field of the csrow's to an
incorrect value, causing the sysfs show routine for that field to go out
of an array bound and Oopsing the kernel when used.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/edac/cell_edac.c