On Mon, Jul 06, 2020 at 04:32:40PM -0700, Rajat Jain wrote:
device_attach() returning failure indicates a driver error while trying to probe the device. In such a scenario, the PCI device should still be added in the system and be visible to the user.
This patch partially reverts: commit ab1a187bba5c ("PCI: Check device_attach() return value always")
Signed-off-by: Rajat Jain rajatja@google.com Reviewed-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
Resending to stable, independent from other patches per Greg's suggestion v2: Add Greg's reviewed by, fix commit log
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.
</formletter>