]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ERR: Simplify broadcast callouts
authorKeith Busch <keith.busch@intel.com>
Thu, 20 Sep 2018 16:27:14 +0000 (10:27 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Oct 2018 21:04:40 +0000 (16:04 -0500)
commitbf5c81e9a4f61c1018624b35ba3b7586e01001c6
tree8585dff3e123253286ab8e3e0b5653dba7666955
parentf5690bdefa6d86d58971dc8429639424200c2d46
PCI/ERR: Simplify broadcast callouts

There is no point in having a generic broadcast function if it needs to
have special cases for each callback it broadcasts.

Abstract the error broadcast to only the necessary information and removes
the now unnecessary helper to walk the bus.

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