Skip to contentSkip to conversation

ata:Fix error handling in the function ahci_pci_reset_controller

PATCH Tejun Heo 1 participant 1 message Sep 21, 2015 1 message not in the archive libata

lore
Share & tools
lore

Tejun Heo

author
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines · Nicholas Krause

This fixes error handling in the function ahci_pci_reset_controller to properly check if the call to ahci_reset_controller fails and if return -EIO to this function's caller rather then continuing with this function's intended work if the controller cannot be reset properly for this ahci pci based device.

Maybe... I don't know. What do we gain by failing resume? Reporting is fine but what'd be the recovery action?

Thanks.

Signature · 1 line
tejun