PCI/ERR: Always report current recovery status for udev
authorKeith Busch <keith.busch@intel.com>
Thu, 20 Sep 2018 16:27:15 +0000 (10:27 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Oct 2018 21:04:40 +0000 (16:04 -0500)
commit7b42d97e99d3a2babffd1b3456ded08b54981538
tree72ad40cff66b605b01cbf56daaf744e8f8cb13c8
parent542aeb9c8f930e4099432cb0bec17b92c0175e08
PCI/ERR: Always report current recovery status for udev

A device still participates in error recovery even if it doesn't have
the error callbacks.

Always provide the status for user event watchers.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
drivers/pci/pcie/err.c