nfit, mce: Fix SPA matching logic in MCE handler

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: linux-acpi@vger.kernel.org
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

authored by Vishal Verma and committed by Dan Williams 2e21807d 9049771f

+1 -1
+1 -1
drivers/acpi/nfit/mce.c
··· 42 list_for_each_entry(nfit_spa, &acpi_desc->spas, list) { 43 struct acpi_nfit_system_address *spa = nfit_spa->spa; 44 45 - if (nfit_spa_type(spa) == NFIT_SPA_PM) 46 continue; 47 /* find the spa that covers the mce addr */ 48 if (spa->address > mce->addr)
··· 42 list_for_each_entry(nfit_spa, &acpi_desc->spas, list) { 43 struct acpi_nfit_system_address *spa = nfit_spa->spa; 44 45 + if (nfit_spa_type(spa) != NFIT_SPA_PM) 46 continue; 47 /* find the spa that covers the mce addr */ 48 if (spa->address > mce->addr)