Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'edac_fixes_for_4.16' of git://git.kernel.org/pub/scm/linux/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

+1 -1
+1 -1
drivers/edac/sb_edac.c
··· 279 279 * sbridge structs 280 280 */ 281 281 282 - #define NUM_CHANNELS 4 /* Max channels per MC */ 282 + #define NUM_CHANNELS 6 /* Max channels per MC */ 283 283 #define MAX_DIMMS 3 /* Max DIMMS per channel */ 284 284 #define KNL_MAX_CHAS 38 /* KNL max num. of Cache Home Agents */ 285 285 #define KNL_MAX_CHANNELS 6 /* KNL max num. of PCI channels */