lkml.org 
[lkml]   [2015]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ata:Fix error handling in the function ahci_pci_reset_controller
On Fri, Sep 18, 2015 at 11:27:47PM -0400, Nicholas Krause wrote:
> 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.

--
tejun


\
 
 \ /
  Last update: 2015-09-21 21:21    [W:0.072 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site