RE: [PATCH] vfio/pds: Use proper PF device access helper

From: Tian, Kevin
Date: Sat Sep 16 2023 - 05:54:15 EST


> From: Alex Williamson <alex.williamson@xxxxxxxxxx>
> Sent: Saturday, September 16, 2023 2:59 AM
>
> On Thu, 14 Sep 2023 10:13:32 +0800
> oushixiong <oushixiong@xxxxxxxxxx> wrote:
>
> > From: Shixiong Ou <oushixiong@xxxxxxxxxx>
> >
> > 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@xxxxxxxxxx>
> > ---
> >
> > This patch changes the subject line and commit log, and the previous
> > patch's links is:
> >
> https://patchwork.kernel.org/project/kvm/patch/20230911080828.6
> 35184-1-oushixiong@xxxxxxxxxx/
>
> Kevin & Jason,
>
> I assume your R-b's apply to this version as well. Thanks,
>

yes.