mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
27004f89b0
The pci_physfn() helper exists to support cases where the physfn field may not be compiled into the pci_dev structure. We've declared this driver dependent on PCI_IOV to avoid this problem, but regardless we should follow the precedent not to access this field directly. Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn> Reviewed-by: Brett Creeley <brett.creeley@amd.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20230914021332.1929155-1-oushixiong@kylinos.cn Signed-off-by: Alex Williamson <alex.williamson@redhat.com> |
||
---|---|---|
.. | ||
cmds.c | ||
cmds.h | ||
dirty.c | ||
dirty.h | ||
Kconfig | ||
lm.c | ||
lm.h | ||
Makefile | ||
pci_drv.c | ||
pci_drv.h | ||
vfio_dev.c | ||
vfio_dev.h |