Commit 60f5d361 authored by weiyufeng's avatar weiyufeng Committed by Greg Kroah-Hartman
Browse files

PCI: cpqphp: Use PCI_POSSIBLE_ERROR() to check config reads

[ Upstream commit 87d54033 ]

Use PCI_POSSIBLE_ERROR() to check the response we get when we read data
from hardware.  This unifies PCI error response checking and makes error
checks consistent and easier to find.

Link: https://lore.kernel.org/r/20240806065050.28725-1-412574090@163.com


Signed-off-by: default avatarweiyufeng <weiyufeng@kylinos.cn>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Stable-dep-of: e2226dbc ("PCI: cpqphp: Fix PCIBIOS_* return value confusion")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 928883ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment