]> 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)
commita5330ef656fe3a2305df3d12e39323af61897f49
tree706051bfd4d9cac0781c822bf2d0a8654a08341b
parent739f6c2acaefe3d976ed2848b912eabb7a22e6a6
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