Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313692
b: refs/heads/master
c: 10db8d2
h: refs/heads/master
v: v3
  • Loading branch information
Kleber Sacilotto de Souza authored and Benjamin Herrenschmidt committed Jul 13, 2012
1 parent d84c86e commit db9d512
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 26b0d14106954ae46d2f4f7eec3481828a210f7d
refs/heads/master: 10db8d212864cb6741df7d7fafda5ab6661f6f88
6 changes: 4 additions & 2 deletions trunk/arch/powerpc/platforms/pseries/eeh_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ static int eeh_event_handler(void * dummy)
set_current_state(TASK_INTERRUPTIBLE); /* Don't add to load average */
edev = handle_eeh_events(event);

eeh_clear_slot(eeh_dev_to_of_node(edev), EEH_MODE_RECOVERING);
pci_dev_put(edev->pdev);
if (edev) {
eeh_clear_slot(eeh_dev_to_of_node(edev), EEH_MODE_RECOVERING);
pci_dev_put(edev->pdev);
}

kfree(event);
mutex_unlock(&eeh_event_mutex);
Expand Down

0 comments on commit db9d512

Please sign in to comment.