archive mirror
 help / color / mirror / Atom feed
Cc: Bolarinwa Olayemi Saheed <>,,,
Subject: [Linux-kernel-mentees] [PATCH 0/2] Fix wrong failure check on pcie_capability_read_*()
Date: Fri, 19 Jun 2020 22:12:17 +0200	[thread overview]
Message-ID: <> (raw)

From: Bolarinwa Olayemi Saheed <>

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(-)


Linux-kernel-mentees mailing list

             reply	other threads:[~2020-06-19 21:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-19 20:12 refactormyself [this message]
2020-06-19 20:12 ` [Linux-kernel-mentees] [PATCH 1/2] PCI/PME: Fix wrong failure check on pcie_capability_read_*() refactormyself
2020-06-19 20:12 ` [Linux-kernel-mentees] [PATCH 2/2] PCI: pciehp: " refactormyself
2020-06-20  9:09   ` Lukas Wunner
2020-06-26 19:14     ` Bjorn Helgaas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).