Skip to content

Commit

Permalink
[PATCH] eeh_driver NULL noise removal
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Feb 8, 2006
1 parent 2d20eaf commit d04e4e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/powerpc/platforms/pseries/eeh_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ void handle_eeh_events (struct eeh_event *event)
rc = eeh_reset_device(frozen_pdn, NULL);
if (rc)
goto hard_fail;
pci_walk_bus(frozen_bus, eeh_report_reset, 0);
pci_walk_bus(frozen_bus, eeh_report_reset, NULL);
}

/* If all devices reported they can proceed, the re-enable PIO */
Expand All @@ -342,11 +342,11 @@ void handle_eeh_events (struct eeh_event *event)
rc = eeh_reset_device(frozen_pdn, NULL);
if (rc)
goto hard_fail;
pci_walk_bus(frozen_bus, eeh_report_reset, 0);
pci_walk_bus(frozen_bus, eeh_report_reset, NULL);
}

/* Tell all device drivers that they can resume operations */
pci_walk_bus(frozen_bus, eeh_report_resume, 0);
pci_walk_bus(frozen_bus, eeh_report_resume, NULL);

return;

Expand All @@ -367,7 +367,7 @@ void handle_eeh_events (struct eeh_event *event)
eeh_slot_error_detail(frozen_pdn, 2 /* Permanent Error */);

/* Notify all devices that they're about to go down. */
pci_walk_bus(frozen_bus, eeh_report_failure, 0);
pci_walk_bus(frozen_bus, eeh_report_failure, NULL);

/* Shut down the device drivers for good. */
pcibios_remove_pci_devices(frozen_bus);
Expand Down

0 comments on commit d04e4e1

Please sign in to comment.