]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/AER: Remove error source from AER struct aer_rpc
authorKeith Busch <keith.busch@intel.com>
Tue, 18 Sep 2018 23:58:42 +0000 (17:58 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 8 Oct 2018 17:18:12 +0000 (12:18 -0500)
commite955bbe19c26b0f5f9845646e0ecb61ac8e72c5f
tree706051bfd4d9cac0781c822bf2d0a8654a08341b
parent0463f46787a442da4cf4cf4f0e413d7705d3ba4f
PCI/AER: Remove error source from AER struct aer_rpc

The AER struct aer_rpc was carrying a copy of the error source simply as a
temperary variable.  Remove that from the structure and use a stack
variable for the purpose.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer.c