lkml.org 
[lkml]   [2020]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Fix wrong failure check on pcie_capability_read_*()
Date
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

\
 
 \ /
  Last update: 2020-06-19 23:12    [W:0.102 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site