]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: cpqphp: Use PCI_POSSIBLE_ERROR() to check config reads
authorweiyufeng <weiyufeng@kylinos.cn>
Tue, 6 Aug 2024 06:50:50 +0000 (14:50 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 6 Aug 2024 19:16:57 +0000 (14:16 -0500)
commit87d5403378cccc557af9e02a8a2c8587ad8b7e9a
tree6d253f100de0c80a64d7d35277a52cd3541fc5ae
parent5d8491ae3b8083029ed58ae2aba66cdb70617d4d
PCI: cpqphp: Use PCI_POSSIBLE_ERROR() to check config reads

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: weiyufeng <weiyufeng@kylinos.cn>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/cpqphp_pci.c