On Mon, Nov 27, 2017 at 01:20:23AM -0500, Sinan Kaya wrote: > pci_flr_wait() and pci_af_flr() functions assume graceful return even > though the device is inaccessible under error conditions. > > Return -ENOTTY in error cases so that __pci_reset_function_locked() can > try other reset types if AF_FLR/FLR reset fails. Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>