projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d770e55
)
EDAC, ppc4xx: Access mci->csrows array elements properly
author
Michael Walle
<
[email protected]
>
Tue, 21 Jul 2015 09:00:53 +0000
(11:00 +0200)
committer
Borislav Petkov
<
[email protected]
>
Thu, 13 Aug 2015 04:02:19 +0000
(06:02 +0200)
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 <
[email protected]
>
Cc: <
[email protected]
>
Cc: linux-edac <
[email protected]
>
Cc: Mauro Carvalho Chehab <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Borislav Petkov <
[email protected]
>
drivers/edac/ppc4xx_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/ppc4xx_edac.c
b/drivers/edac/ppc4xx_edac.c
index 3515b381c1312612f56953bc267ee7d5d23b0f84..711d8ad74f116ebdcc7fd3833fbc0672c7a6359b 100644
(file)
--- a/
drivers/edac/ppc4xx_edac.c
+++ b/
drivers/edac/ppc4xx_edac.c
@@
-920,7
+920,7
@@
static int ppc4xx_edac_init_csrows(struct mem_ctl_info *mci, u32 mcopt1)
*/
for (row = 0; row < mci->nr_csrows; row++) {
- struct csrow_info *csi =
&
mci->csrows[row];
+ struct csrow_info *csi = mci->csrows[row];
/*
* Get the configuration settings for this