Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1645476 > unrolled thread
| Started by | Borislav Petkov <bp@alien8.de> |
|---|---|
| First post | 2017-05-19 11:50 +0200 |
| Last post | 2017-05-21 21:50 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 2/7] acpi, nfit: Fix the memory error check in nfit_handle_mce() Borislav Petkov <bp@alien8.de> - 2017-05-19 11:50 +0200
[tip:ras/urgent] acpi, nfit: Fix the memory error check in nfit_handle_mce() tip-bot for Vishal Verma <tipbot@zytor.com> - 2017-05-21 21:50 +0200
| From | Borislav Petkov <bp@alien8.de> |
|---|---|
| Date | 2017-05-19 11:50 +0200 |
| Subject | [PATCH 2/7] acpi, nfit: Fix the memory error check in nfit_handle_mce() |
| Message-ID | <tIMHM-hj-27@gated-at.bofh.it> |
From: Vishal Verma <vishal.l.verma@intel.com> The check for an MCE being a memory error in the NFIT mce handler was bogus. Use the new mce_is_memory_error() helper to detect the error properly. Reported-by: Tony Luck <tony.luck@intel.com> Cc: <stable@vger.kernel.org> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> --- drivers/acpi/nfit/mce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/nfit/mce.c b/drivers/acpi/nfit/mce.c index 3ba1c3472cf9..fd86bec98dea 100644 --- a/drivers/acpi/nfit/mce.c +++ b/drivers/acpi/nfit/mce.c @@ -26,7 +26,7 @@ static int nfit_handle_mce(struct notifier_block *nb, unsigned long val, struct nfit_spa *nfit_spa; /* We only care about memory errors */ - if (!(mce->status & MCACOD)) + if (!mce_is_memory_error(mce)) return NOTIFY_DONE; /* -- 2.11.0
[toc] | [next] | [standalone]
| From | tip-bot for Vishal Verma <tipbot@zytor.com> |
|---|---|
| Date | 2017-05-21 21:50 +0200 |
| Subject | [tip:ras/urgent] acpi, nfit: Fix the memory error check in nfit_handle_mce() |
| Message-ID | <tJF1v-3BI-1@gated-at.bofh.it> |
| In reply to | #1645476 |
Commit-ID: fc08a4703a418a398bbb575ac311d36d110ac786 Gitweb: http://git.kernel.org/tip/fc08a4703a418a398bbb575ac311d36d110ac786 Author: Vishal Verma <vishal.l.verma@intel.com> AuthorDate: Fri, 19 May 2017 11:39:10 +0200 Committer: Thomas Gleixner <tglx@linutronix.de> CommitDate: Sun, 21 May 2017 21:39:59 +0200 acpi, nfit: Fix the memory error check in nfit_handle_mce() The check for an MCE being a memory error in the NFIT mce handler was bogus. Use the new mce_is_memory_error() helper to detect the error properly. Reported-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: <stable@vger.kernel.org> Link: http://lkml.kernel.org/r/20170519093915.15413-3-bp@alien8.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- drivers/acpi/nfit/mce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/nfit/mce.c b/drivers/acpi/nfit/mce.c index 3ba1c34..fd86bec 100644 --- a/drivers/acpi/nfit/mce.c +++ b/drivers/acpi/nfit/mce.c @@ -26,7 +26,7 @@ static int nfit_handle_mce(struct notifier_block *nb, unsigned long val, struct nfit_spa *nfit_spa; /* We only care about memory errors */ - if (!(mce->status & MCACOD)) + if (!mce_is_memory_error(mce)) return NOTIFY_DONE; /*
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web