Re: [PATCH v2 5/6] PCI: Adapt all code locations to not use struct pci_dev::driver directly

From: Boris Ostrovsky
Date: Tue Aug 03 2021 - 09:56:39 EST



On 8/3/21 6:01 AM, Uwe Kleine-König wrote:
> This prepares removing the driver member of struct pci_dev which holds the
> same information than struct pci_dev::dev->driver.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> ---
> arch/powerpc/include/asm/ppc-pci.h | 3 +-
> arch/powerpc/kernel/eeh_driver.c | 12 ++++---
> arch/x86/events/intel/uncore.c | 2 +-
> arch/x86/kernel/probe_roms.c | 2 +-
> drivers/bcma/host_pci.c | 6 ++--
> drivers/crypto/hisilicon/qm.c | 2 +-
> drivers/crypto/qat/qat_common/adf_aer.c | 2 +-
> drivers/message/fusion/mptbase.c | 4 +--
> drivers/misc/cxl/guest.c | 21 +++++------
> drivers/misc/cxl/pci.c | 25 +++++++------
> .../ethernet/hisilicon/hns3/hns3_ethtool.c | 2 +-
> .../ethernet/marvell/prestera/prestera_pci.c | 2 +-
> drivers/net/ethernet/mellanox/mlxsw/pci.c | 2 +-
> .../ethernet/netronome/nfp/nfp_net_ethtool.c | 2 +-
> drivers/pci/iov.c | 23 +++++++-----
> drivers/pci/pci-driver.c | 28 ++++++++-------
> drivers/pci/pci.c | 10 +++---
> drivers/pci/pcie/err.c | 35 ++++++++++---------
> drivers/pci/xen-pcifront.c | 3 +-
> drivers/ssb/pcihost_wrapper.c | 7 ++--
> drivers/usb/host/xhci-pci.c | 3 +-
> 21 files changed, 112 insertions(+), 84 deletions(-)


For Xen bits:

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>