From: Marek Majtyka <marekx.majt...@intel.com> Modified all axxia EDAC drivers default value of log_ce to 0. This disables console EDAC CE errors notification.
Signed-off-by: Marek Majtyka <marekx.majt...@intel.com> --- drivers/edac/axxia_edac-cmc_56xx.c | 1 + drivers/edac/axxia_edac-l2_cpu_56xx.c | 1 + drivers/edac/axxia_edac-l3_56xx.c | 1 + drivers/edac/axxia_edac-mc_56xx.c | 1 + 4 files changed, 4 insertions(+) diff --git a/drivers/edac/axxia_edac-cmc_56xx.c b/drivers/edac/axxia_edac-cmc_56xx.c index af6b506..884f746 100644 --- a/drivers/edac/axxia_edac-cmc_56xx.c +++ b/drivers/edac/axxia_edac-cmc_56xx.c @@ -1236,6 +1236,7 @@ static int initialize(struct intel_edac_dev_info *dev_info) return ERR_STAGE_1; } + dev_info->edac_dev->log_ce = 0; instance = &dev_info->edac_dev->instances[0]; /* It just gives more descriptive name. */ diff --git a/drivers/edac/axxia_edac-l2_cpu_56xx.c b/drivers/edac/axxia_edac-l2_cpu_56xx.c index e20ee10..a9400e8 100644 --- a/drivers/edac/axxia_edac-l2_cpu_56xx.c +++ b/drivers/edac/axxia_edac-l2_cpu_56xx.c @@ -227,6 +227,7 @@ static void intel_add_edac_devices(struct platform_device *pdev, goto err1; } + dev_info->edac_dev->log_ce = 0; dev_info->edac_dev->pvt_info = dev_info; dev_info->edac_dev->dev = &dev_info->pdev->dev; dev_info->edac_dev->ctl_name = dev_info->ctl_name; diff --git a/drivers/edac/axxia_edac-l3_56xx.c b/drivers/edac/axxia_edac-l3_56xx.c index abf5e3a..32427c6 100644 --- a/drivers/edac/axxia_edac-l3_56xx.c +++ b/drivers/edac/axxia_edac-l3_56xx.c @@ -456,6 +456,7 @@ static int intel_edac_l3_probe(struct platform_device *pdev) goto err1; } + dev_info->edac_dev->log_ce = 0; r = platform_get_resource(pdev, IORESOURCE_IRQ, 0); if (!r) return -EINVAL; diff --git a/drivers/edac/axxia_edac-mc_56xx.c b/drivers/edac/axxia_edac-mc_56xx.c index c1e13f5..00f3462 100644 --- a/drivers/edac/axxia_edac-mc_56xx.c +++ b/drivers/edac/axxia_edac-mc_56xx.c @@ -1341,6 +1341,7 @@ static int intel_edac_mc_probe(struct platform_device *pdev) goto err_noctlinfo; } + dev_info->edac_dev->log_ce = 0; instance = &dev_info->edac_dev->instances[0]; /* It just gives more descriptive name. */ -- 2.7.4 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto