Re: [PATCH 1/7] PCI: export pcie_flr

From: Christoph Hellwig
Date: Fri Apr 14 2017 - 11:56:38 EST


> s/pcie_has_flr/pcie_has_flr()/

Ok.

> This performs an FLR (if supported) always, regardless of "probe".
> I think it should look something like this instead:
>
> if (pcie_has_flr(dev)) {
> if (!probe)
> pcie_flr(dev);
> rc = 0;
> goto done;
> }

Indeed!