]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: hv: Handle hv_pci_generic_compl() error case
authorDexuan Cui <decui@microsoft.com>
Tue, 23 Aug 2016 04:49:22 +0000 (04:49 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 6 Sep 2016 17:23:30 +0000 (12:23 -0500)
commitc10d39d3f03a475ade039be8ad9c4917cfa93445
tree69235d2da14b4f654b522f25428f027a05cfe81e
parente473e68521e9f73dc67a14cc2738e3027479a8b1
PCI: hv: Handle hv_pci_generic_compl() error case

'completion_status' is used in some places, e.g.,
hv_pci_protocol_negotiation(), so we should make sure it's initialized in
error case too, though the error is unlikely here.

[bhelgaas: fix changelog typo and nearby whitespace]
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: KY Srinivasan <kys@microsoft.com>
CC: Jake Oshins <jakeo@microsoft.com>
CC: Haiyang Zhang <haiyangz@microsoft.com>
CC: Vitaly Kuznetsov <vkuznets@redhat.com>
drivers/pci/host/pci-hyperv.c