]> 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)
commit2b9228890e20ad86f6082281759f19ac35d10512
tree8585dff3e123253286ab8e3e0b5653dba7666955
parent03504cf5b15230bfbcbef5f8c7fc1aa96484cded
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