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

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'edac_urgent_for_v5.15_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras

Pull EDAC fixes from Borislav Petkov:
"Fix two EDAC drivers using the wrong value type for the DIMM mode"

* tag 'edac_urgent_for_v5.15_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
EDAC/dmc520: Assign the proper type to dimm->edac_mode
EDAC/synopsys: Fix wrong value type assignment for edac_mode

+2 -2
+1 -1
drivers/edac/dmc520_edac.c
··· 464 464 dimm->grain = pvt->mem_width_in_bytes; 465 465 dimm->dtype = dt; 466 466 dimm->mtype = mt; 467 - dimm->edac_mode = EDAC_FLAG_SECDED; 467 + dimm->edac_mode = EDAC_SECDED; 468 468 dimm->nr_pages = pages_per_rank / csi->nr_channels; 469 469 } 470 470 }
+1 -1
drivers/edac/synopsys_edac.c
··· 782 782 783 783 for (j = 0; j < csi->nr_channels; j++) { 784 784 dimm = csi->channels[j]->dimm; 785 - dimm->edac_mode = EDAC_FLAG_SECDED; 785 + dimm->edac_mode = EDAC_SECDED; 786 786 dimm->mtype = p_data->get_mtype(priv->baseaddr); 787 787 dimm->nr_pages = (size >> PAGE_SHIFT) / csi->nr_channels; 788 788 dimm->grain = SYNPS_EDAC_ERR_GRAIN;