linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix wrong failure check on pcie_capability_read_*()
@ 2020-06-19 20:12 refactormyself
  2020-06-19 20:12 ` [PATCH 1/2] PCI/PME: " refactormyself
  2020-06-19 20:12 ` [PATCH 2/2] PCI: pciehp: " refactormyself
  0 siblings, 2 replies; 5+ messages in thread
From: refactormyself @ 2020-06-19 20:12 UTC (permalink / raw)
  To: helgaas
  Cc: Bolarinwa Olayemi Saheed, bjorn, linux-pci, skhan,
	linux-kernel-mentees, linux-kernel

From: Bolarinwa Olayemi Saheed <refactormyself@gmail.com>

On failure, pcie_capabiility_read_*() will set the status value,
its last parameter to 0 and not ~0.
This bug fix checks for the proper value.


Bolarinwa Olayemi Saheed (2):
  PCI/PME: Fix wrong failure check on pcie_capability_read_*()
  PCI: pciehp: Fix wrong failure check on pcie_capability_read_*()

 drivers/pci/hotplug/pciehp_hpc.c | 10 +++++-----
 drivers/pci/pcie/pme.c           |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

-- 
2.18.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-26 19:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19 20:12 [PATCH 0/2] Fix wrong failure check on pcie_capability_read_*() refactormyself
2020-06-19 20:12 ` [PATCH 1/2] PCI/PME: " refactormyself
2020-06-19 20:12 ` [PATCH 2/2] PCI: pciehp: " refactormyself
2020-06-20  9:09   ` Lukas Wunner
2020-06-26 19:14     ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).