[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC 05/12] PCI: Convert s390/pci/pci.c to pci_is_sriov_* helpers



From: Dimitri Daskalakis <daskald@xxxxxxxx>

No functional changes.

Assisted-by: Claude:claude-opus-4.7
Signed-off-by: Dimitri Daskalakis <daskald@xxxxxxxx>
---
 arch/s390/pci/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c
index 39bd2adfc240..5e6f600bf60b 100644
--- a/arch/s390/pci/pci.c
+++ b/arch/s390/pci/pci.c
@@ -611,7 +611,7 @@ int pcibios_device_add(struct pci_dev *pdev)
 
        /* The pdev has a reference to the zdev via its bus */
        zpci_zdev_get(zdev);
-       if (pdev->is_physfn)
+       if (pci_is_sriov_physfn(pdev))
                pdev->no_vf_scan = 1;
 
        zpci_map_resources(pdev);
-- 
2.52.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.