Loading drivers/edac/amd64_edac.c +8 −1 Original line number Diff line number Diff line Loading @@ -2642,8 +2642,15 @@ static int amd64_init_one_instance(struct pci_dev *F2) layers[0].size = pvt->csels[0].b_cnt; layers[0].is_virt_csrow = true; layers[1].type = EDAC_MC_LAYER_CHANNEL; layers[1].size = pvt->channel_count; /* * Always allocate two channels since we can have setups with DIMMs on * only one channel. Also, this simplifies handling later for the price * of a couple of KBs tops. */ layers[1].size = 2; layers[1].is_virt_csrow = false; mci = edac_mc_alloc(nid, ARRAY_SIZE(layers), layers, 0); if (!mci) goto err_siblings; Loading drivers/edac/cpc925_edac.c +1 −1 Original line number Diff line number Diff line Loading @@ -789,7 +789,7 @@ static struct cpc925_dev_info cpc925_devs[] = { .exit = cpc925_htlink_exit, .check = cpc925_htlink_check, }, {0}, /* Terminated by NULL */ { } }; /* Loading drivers/edac/edac_mc_sysfs.c +4 −2 Original line number Diff line number Diff line Loading @@ -58,8 +58,10 @@ static int edac_set_poll_msec(const char *val, struct kernel_param *kp) if (!val) return -EINVAL; ret = strict_strtol(val, 0, &l); if (ret == -EINVAL || ((int)l != l)) ret = kstrtol(val, 0, &l); if (ret) return ret; if ((int)l != l) return -EINVAL; *((int *)kp->arg) = l; Loading drivers/edac/i3200_edac.c +1 −2 Original line number Diff line number Diff line Loading @@ -260,8 +260,7 @@ static void i3200_check(struct mem_ctl_info *mci) i3200_process_error_info(mci, &info); } void __iomem *i3200_map_mchbar(struct pci_dev *pdev) static void __iomem *i3200_map_mchbar(struct pci_dev *pdev) { union { u64 mchbar; Loading drivers/edac/x38_edac.c +1 −2 Original line number Diff line number Diff line Loading @@ -248,8 +248,7 @@ static void x38_check(struct mem_ctl_info *mci) x38_process_error_info(mci, &info); } void __iomem *x38_map_mchbar(struct pci_dev *pdev) static void __iomem *x38_map_mchbar(struct pci_dev *pdev) { union { u64 mchbar; Loading Loading
drivers/edac/amd64_edac.c +8 −1 Original line number Diff line number Diff line Loading @@ -2642,8 +2642,15 @@ static int amd64_init_one_instance(struct pci_dev *F2) layers[0].size = pvt->csels[0].b_cnt; layers[0].is_virt_csrow = true; layers[1].type = EDAC_MC_LAYER_CHANNEL; layers[1].size = pvt->channel_count; /* * Always allocate two channels since we can have setups with DIMMs on * only one channel. Also, this simplifies handling later for the price * of a couple of KBs tops. */ layers[1].size = 2; layers[1].is_virt_csrow = false; mci = edac_mc_alloc(nid, ARRAY_SIZE(layers), layers, 0); if (!mci) goto err_siblings; Loading
drivers/edac/cpc925_edac.c +1 −1 Original line number Diff line number Diff line Loading @@ -789,7 +789,7 @@ static struct cpc925_dev_info cpc925_devs[] = { .exit = cpc925_htlink_exit, .check = cpc925_htlink_check, }, {0}, /* Terminated by NULL */ { } }; /* Loading
drivers/edac/edac_mc_sysfs.c +4 −2 Original line number Diff line number Diff line Loading @@ -58,8 +58,10 @@ static int edac_set_poll_msec(const char *val, struct kernel_param *kp) if (!val) return -EINVAL; ret = strict_strtol(val, 0, &l); if (ret == -EINVAL || ((int)l != l)) ret = kstrtol(val, 0, &l); if (ret) return ret; if ((int)l != l) return -EINVAL; *((int *)kp->arg) = l; Loading
drivers/edac/i3200_edac.c +1 −2 Original line number Diff line number Diff line Loading @@ -260,8 +260,7 @@ static void i3200_check(struct mem_ctl_info *mci) i3200_process_error_info(mci, &info); } void __iomem *i3200_map_mchbar(struct pci_dev *pdev) static void __iomem *i3200_map_mchbar(struct pci_dev *pdev) { union { u64 mchbar; Loading
drivers/edac/x38_edac.c +1 −2 Original line number Diff line number Diff line Loading @@ -248,8 +248,7 @@ static void x38_check(struct mem_ctl_info *mci) x38_process_error_info(mci, &info); } void __iomem *x38_map_mchbar(struct pci_dev *pdev) static void __iomem *x38_map_mchbar(struct pci_dev *pdev) { union { u64 mchbar; Loading