All of lore.kernel.org
 help / color / mirror / Atom feed
* [Linux-kernel-mentees] [PATCH 0/2] Fix wrong failure check on pcie_capability_read_*()
@ 2020-06-19 20:12 ` refactormyself
  0 siblings, 0 replies; 10+ messages in thread
From: refactormyself @ 2020-06-19 20:12 UTC (permalink / raw)
  To: helgaas
  Cc: Bolarinwa Olayemi Saheed, linux-pci, linux-kernel,
	linux-kernel-mentees

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

_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

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

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

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.