Browse Source

Merge tag 'edac_fix_for_4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp

Pull EDAC fix from Borislav Petkov:
 "A ppc4xx_edac fix for accessing ->csrows properly.  This driver was
  missed during the conversion a couple of years ago"

* tag 'edac_fix_for_4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
  EDAC, ppc4xx: Access mci->csrows array elements properly
Linus Torvalds 10 years ago
parent
commit
2331d30dc8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/edac/ppc4xx_edac.c

+ 1 - 1
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++) {
 	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
 		 * Get the configuration settings for this