The check for a 'pmem' type SPA in the MCE handler was inverted due to a merge/rebase error.
Unified · Split
| @@ -42,7 +42,7 @@ static int nfit_handle_mce(struct notifier_block *nb, unsigned long val, · 41 unmodified lines | ||
| 42 | 42 | list_for_each_entry(nfit_spa, &acpi_desc->spas, list) { |
| 43 | 43 | struct acpi_nfit_system_address *spa = nfit_spa->spa; |
| 44 | 44 | |
| 45 | − if (nfit_spa_type(spa) == NFIT_SPA_PM) | |
| 45 | + if (nfit_spa_type(spa) != NFIT_SPA_PM) | |
| 46 | 46 | continue; |
| 47 | 47 | /* find the spa that covers the mce addr */ |
| 48 | 48 | if (spa->address > mce->addr) |