History

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.

Vishal Verma committed 10 years ago

Commit 2e218071 parent 90497711 file · +1 −1Browse files

Unified · Split

drivers/acpi/nfit/mce.c+1−1
@@ -42,7 +42,7 @@ static int nfit_handle_mce(struct notifier_block *nb, unsigned long val, · 41 unmodified lines
4242 list_for_each_entry(nfit_spa, &acpi_desc->spas, list) {
4343 struct acpi_nfit_system_address *spa = nfit_spa->spa;
4444
45− if (nfit_spa_type(spa) == NFIT_SPA_PM)
45+ if (nfit_spa_type(spa) != NFIT_SPA_PM)
4646 continue;
4747 /* find the spa that covers the mce addr */
4848 if (spa->address > mce->addr)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t