projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9049771
)
nfit, mce: Fix SPA matching logic in MCE handler
author
Vishal Verma
<
[email protected]
>
Fri, 2 Sep 2016 23:27:30 +0000
(17:27 -0600)
committer
Dan Williams
<
[email protected]
>
Sat, 10 Sep 2016 00:34:46 +0000
(17:34 -0700)
The check for a 'pmem' type SPA in the MCE handler was inverted due to a
merge/rebase error.
Fixes: 6839a6d nfit: do an ARS scrub on hitting a latent media error
Cc:
[email protected]
Cc: Dan Williams <
[email protected]
>
Signed-off-by: Vishal Verma <
[email protected]
>
Signed-off-by: Dan Williams <
[email protected]
>
drivers/acpi/nfit/mce.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/nfit/mce.c
b/drivers/acpi/nfit/mce.c
index 4c745bf389fea19b0cd049533183087be8873a5d..161f91539ae62b5d05547a939825321015580943 100644
(file)
--- a/
drivers/acpi/nfit/mce.c
+++ b/
drivers/acpi/nfit/mce.c
@@
-42,7
+42,7
@@
static int nfit_handle_mce(struct notifier_block *nb, unsigned long val,
list_for_each_entry(nfit_spa, &acpi_desc->spas, list) {
struct acpi_nfit_system_address *spa = nfit_spa->spa;
- if (nfit_spa_type(spa)
=
= NFIT_SPA_PM)
+ if (nfit_spa_type(spa)
!
= NFIT_SPA_PM)
continue;
/* find the spa that covers the mce addr */
if (spa->address > mce->addr)