Skip to content

Commit

Permalink
Merge tag 'edac_fixes_for_4.16' of git://git.kernel.org/pub/scm/linux…
Browse files Browse the repository at this point in the history
…/kernel/git/bp/bp

Pull EDAC fix from Borislav Petkov:
 "sb_edac: Prevent memory corruption on KNL (from Anna Karbownik)"

* tag 'edac_fixes_for_4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
  EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL
  • Loading branch information
torvalds committed Feb 26, 2018
2 parents 85a2d93 + bf84867 commit 4c3579f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/edac/sb_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ static const u32 correrrthrsld[] = {
* sbridge structs
*/

#define NUM_CHANNELS 4 /* Max channels per MC */
#define NUM_CHANNELS 6 /* Max channels per MC */
#define MAX_DIMMS 3 /* Max DIMMS per channel */
#define KNL_MAX_CHAS 38 /* KNL max num. of Cache Home Agents */
#define KNL_MAX_CHANNELS 6 /* KNL max num. of PCI channels */
Expand Down

0 comments on commit 4c3579f

Please sign in to comment.