]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
EDAC, ppc4xx: Access mci->csrows array elements properly
authorMichael Walle <michael@walle.cc>
Tue, 21 Jul 2015 09:00:53 +0000 (11:00 +0200)
committerJiri Slaby <jslaby@suse.cz>
Tue, 25 Aug 2015 14:57:10 +0000 (16:57 +0200)
commit2a1fd7df13160d14f2441bf7678f26aae690966b
tree09afe0b20b44fef4d595e1b33ad4b5e9c32eab8d
parent6713bcb776374b5addb4e36ac6425a26300466c6
EDAC, ppc4xx: Access mci->csrows array elements properly

commit 5c16179b550b9fd8114637a56b153c9768ea06a5 upstream.

The commit

  de3910eb79ac ("edac: change the mem allocation scheme to
 make Documentation/kobject.txt happy")

changed the memory allocation for the csrows member. But ppc4xx_edac was
forgotten in the patch. Fix it.

Signed-off-by: Michael Walle <michael@walle.cc>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Link: http://lkml.kernel.org/r/1437469253-8611-1-git-send-email-michael@walle.cc
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/edac/ppc4xx_edac.c