* [PATCH] hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata()
@ 2022-08-31 8:59 Shameer Kolothum
2022-08-31 14:06 ` Jason Gunthorpe
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Shameer Kolothum @ 2022-08-31 8:59 UTC (permalink / raw)
To: kvm; +Cc: alex.williamson, jgg, kevin.tian, liulongfang, linuxarm
Commit 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the
vfio_pci_core_device in drvdata") introduced a helper function to
retrieve the drvdata but used "hssi" instead of "hisi" for the
function prefix. Correct that and also while at it, moved the
function a bit down so that it's close to other hisi_ prefixed
functions.
No functional changes.
Fixes: 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the vfio_pci_core_device in drvdata")
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
---
.../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 20 +++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c b/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
index ea762e28c1cc..258cae0863ea 100644
--- a/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
+++ b/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
@@ -337,14 +337,6 @@ static int vf_qm_cache_wb(struct hisi_qm *qm)
return 0;
}
-static struct hisi_acc_vf_core_device *hssi_acc_drvdata(struct pci_dev *pdev)
-{
- struct vfio_pci_core_device *core_device = dev_get_drvdata(&pdev->dev);
-
- return container_of(core_device, struct hisi_acc_vf_core_device,
- core_device);
-}
-
static void vf_qm_fun_reset(struct hisi_acc_vf_core_device *hisi_acc_vdev,
struct hisi_qm *qm)
{
@@ -552,6 +544,14 @@ static int vf_qm_state_save(struct hisi_acc_vf_core_device *hisi_acc_vdev,
return 0;
}
+static struct hisi_acc_vf_core_device *hisi_acc_drvdata(struct pci_dev *pdev)
+{
+ struct vfio_pci_core_device *core_device = dev_get_drvdata(&pdev->dev);
+
+ return container_of(core_device, struct hisi_acc_vf_core_device,
+ core_device);
+}
+
/* Check the PF's RAS state and Function INT state */
static int
hisi_acc_check_int_state(struct hisi_acc_vf_core_device *hisi_acc_vdev)
@@ -970,7 +970,7 @@ hisi_acc_vfio_pci_get_device_state(struct vfio_device *vdev,
static void hisi_acc_vf_pci_aer_reset_done(struct pci_dev *pdev)
{
- struct hisi_acc_vf_core_device *hisi_acc_vdev = hssi_acc_drvdata(pdev);
+ struct hisi_acc_vf_core_device *hisi_acc_vdev = hisi_acc_drvdata(pdev);
if (hisi_acc_vdev->core_device.vdev.migration_flags !=
VFIO_MIGRATION_STOP_COPY)
@@ -1301,7 +1301,7 @@ static int hisi_acc_vfio_pci_probe(struct pci_dev *pdev, const struct pci_device
static void hisi_acc_vfio_pci_remove(struct pci_dev *pdev)
{
- struct hisi_acc_vf_core_device *hisi_acc_vdev = hssi_acc_drvdata(pdev);
+ struct hisi_acc_vf_core_device *hisi_acc_vdev = hisi_acc_drvdata(pdev);
vfio_pci_core_unregister_device(&hisi_acc_vdev->core_device);
vfio_pci_core_uninit_device(&hisi_acc_vdev->core_device);
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata()
2022-08-31 8:59 [PATCH] hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata() Shameer Kolothum
@ 2022-08-31 14:06 ` Jason Gunthorpe
2022-08-31 14:12 ` Alex Williamson
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Jason Gunthorpe @ 2022-08-31 14:06 UTC (permalink / raw)
To: Shameer Kolothum; +Cc: kvm, alex.williamson, kevin.tian, liulongfang, linuxarm
On Wed, Aug 31, 2022 at 09:59:43AM +0100, Shameer Kolothum wrote:
> Commit 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the
> vfio_pci_core_device in drvdata") introduced a helper function to
> retrieve the drvdata but used "hssi" instead of "hisi" for the
> function prefix. Correct that and also while at it, moved the
> function a bit down so that it's close to other hisi_ prefixed
> functions.
>
> No functional changes.
>
> Fixes: 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the vfio_pci_core_device in drvdata")
> Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
> ---
> .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 20 +++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Jason
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata()
2022-08-31 8:59 [PATCH] hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata() Shameer Kolothum
2022-08-31 14:06 ` Jason Gunthorpe
@ 2022-08-31 14:12 ` Alex Williamson
2022-08-31 14:15 ` Shameerali Kolothum Thodi
2022-09-01 2:04 ` Tian, Kevin
2022-09-02 18:42 ` Alex Williamson
3 siblings, 1 reply; 7+ messages in thread
From: Alex Williamson @ 2022-08-31 14:12 UTC (permalink / raw)
To: Shameer Kolothum; +Cc: kvm, jgg, kevin.tian, liulongfang, linuxarm
On Wed, 31 Aug 2022 09:59:43 +0100
Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> wrote:
> Commit 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the
> vfio_pci_core_device in drvdata") introduced a helper function to
> retrieve the drvdata but used "hssi" instead of "hisi" for the
> function prefix. Correct that and also while at it, moved the
> function a bit down so that it's close to other hisi_ prefixed
> functions.
>
> No functional changes.
>
> Fixes: 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the vfio_pci_core_device in drvdata")
The above two lines are usually mutually exclusive, the latter will
cause this change to be backported to all releases including that
commit. As a largely aesthetic change, is that what you're looking
for? Thanks,
Alex
> Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
> ---
> .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 20 +++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c b/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
> index ea762e28c1cc..258cae0863ea 100644
> --- a/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
> +++ b/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
> @@ -337,14 +337,6 @@ static int vf_qm_cache_wb(struct hisi_qm *qm)
> return 0;
> }
>
> -static struct hisi_acc_vf_core_device *hssi_acc_drvdata(struct pci_dev *pdev)
> -{
> - struct vfio_pci_core_device *core_device = dev_get_drvdata(&pdev->dev);
> -
> - return container_of(core_device, struct hisi_acc_vf_core_device,
> - core_device);
> -}
> -
> static void vf_qm_fun_reset(struct hisi_acc_vf_core_device *hisi_acc_vdev,
> struct hisi_qm *qm)
> {
> @@ -552,6 +544,14 @@ static int vf_qm_state_save(struct hisi_acc_vf_core_device *hisi_acc_vdev,
> return 0;
> }
>
> +static struct hisi_acc_vf_core_device *hisi_acc_drvdata(struct pci_dev *pdev)
> +{
> + struct vfio_pci_core_device *core_device = dev_get_drvdata(&pdev->dev);
> +
> + return container_of(core_device, struct hisi_acc_vf_core_device,
> + core_device);
> +}
> +
> /* Check the PF's RAS state and Function INT state */
> static int
> hisi_acc_check_int_state(struct hisi_acc_vf_core_device *hisi_acc_vdev)
> @@ -970,7 +970,7 @@ hisi_acc_vfio_pci_get_device_state(struct vfio_device *vdev,
>
> static void hisi_acc_vf_pci_aer_reset_done(struct pci_dev *pdev)
> {
> - struct hisi_acc_vf_core_device *hisi_acc_vdev = hssi_acc_drvdata(pdev);
> + struct hisi_acc_vf_core_device *hisi_acc_vdev = hisi_acc_drvdata(pdev);
>
> if (hisi_acc_vdev->core_device.vdev.migration_flags !=
> VFIO_MIGRATION_STOP_COPY)
> @@ -1301,7 +1301,7 @@ static int hisi_acc_vfio_pci_probe(struct pci_dev *pdev, const struct pci_device
>
> static void hisi_acc_vfio_pci_remove(struct pci_dev *pdev)
> {
> - struct hisi_acc_vf_core_device *hisi_acc_vdev = hssi_acc_drvdata(pdev);
> + struct hisi_acc_vf_core_device *hisi_acc_vdev = hisi_acc_drvdata(pdev);
>
> vfio_pci_core_unregister_device(&hisi_acc_vdev->core_device);
> vfio_pci_core_uninit_device(&hisi_acc_vdev->core_device);
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [PATCH] hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata()
2022-08-31 14:12 ` Alex Williamson
@ 2022-08-31 14:15 ` Shameerali Kolothum Thodi
2022-08-31 14:24 ` Alex Williamson
0 siblings, 1 reply; 7+ messages in thread
From: Shameerali Kolothum Thodi @ 2022-08-31 14:15 UTC (permalink / raw)
To: Alex Williamson
Cc: kvm@vger.kernel.org, jgg@nvidia.com, kevin.tian@intel.com,
liulongfang, Linuxarm
> -----Original Message-----
> From: Alex Williamson [mailto:alex.williamson@redhat.com]
> Sent: 31 August 2022 15:12
> To: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com>
> Cc: kvm@vger.kernel.org; jgg@nvidia.com; kevin.tian@intel.com; liulongfang
> <liulongfang@huawei.com>; Linuxarm <linuxarm@huawei.com>
> Subject: Re: [PATCH] hisi_acc_vfio_pci: Correct the function prefix for
> hssi_acc_drvdata()
>
> On Wed, 31 Aug 2022 09:59:43 +0100
> Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> wrote:
>
> > Commit 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the
> > vfio_pci_core_device in drvdata") introduced a helper function to
> > retrieve the drvdata but used "hssi" instead of "hisi" for the
> > function prefix. Correct that and also while at it, moved the
> > function a bit down so that it's close to other hisi_ prefixed
> > functions.
> >
> > No functional changes.
> >
> > Fixes: 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the
> vfio_pci_core_device in drvdata")
>
> The above two lines are usually mutually exclusive, the latter will
> cause this change to be backported to all releases including that
> commit. As a largely aesthetic change, is that what you're looking
> for? Thanks,
Nope. I don't think we need to backport this. Hope you can remove
the "Fixes" tag while applying the patch.
Thanks,
Shameer
> Alex
>
> > Signed-off-by: Shameer Kolothum
> <shameerali.kolothum.thodi@huawei.com>
> > ---
> > .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 20 +++++++++----------
> > 1 file changed, 10 insertions(+), 10 deletions(-)
> >
> > diff --git a/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
> b/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
> > index ea762e28c1cc..258cae0863ea 100644
> > --- a/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
> > +++ b/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
> > @@ -337,14 +337,6 @@ static int vf_qm_cache_wb(struct hisi_qm *qm)
> > return 0;
> > }
> >
> > -static struct hisi_acc_vf_core_device *hssi_acc_drvdata(struct pci_dev
> *pdev)
> > -{
> > - struct vfio_pci_core_device *core_device =
> dev_get_drvdata(&pdev->dev);
> > -
> > - return container_of(core_device, struct hisi_acc_vf_core_device,
> > - core_device);
> > -}
> > -
> > static void vf_qm_fun_reset(struct hisi_acc_vf_core_device
> *hisi_acc_vdev,
> > struct hisi_qm *qm)
> > {
> > @@ -552,6 +544,14 @@ static int vf_qm_state_save(struct
> hisi_acc_vf_core_device *hisi_acc_vdev,
> > return 0;
> > }
> >
> > +static struct hisi_acc_vf_core_device *hisi_acc_drvdata(struct pci_dev
> *pdev)
> > +{
> > + struct vfio_pci_core_device *core_device =
> dev_get_drvdata(&pdev->dev);
> > +
> > + return container_of(core_device, struct hisi_acc_vf_core_device,
> > + core_device);
> > +}
> > +
> > /* Check the PF's RAS state and Function INT state */
> > static int
> > hisi_acc_check_int_state(struct hisi_acc_vf_core_device *hisi_acc_vdev)
> > @@ -970,7 +970,7 @@ hisi_acc_vfio_pci_get_device_state(struct
> vfio_device *vdev,
> >
> > static void hisi_acc_vf_pci_aer_reset_done(struct pci_dev *pdev)
> > {
> > - struct hisi_acc_vf_core_device *hisi_acc_vdev =
> hssi_acc_drvdata(pdev);
> > + struct hisi_acc_vf_core_device *hisi_acc_vdev = hisi_acc_drvdata(pdev);
> >
> > if (hisi_acc_vdev->core_device.vdev.migration_flags !=
> > VFIO_MIGRATION_STOP_COPY)
> > @@ -1301,7 +1301,7 @@ static int hisi_acc_vfio_pci_probe(struct pci_dev
> *pdev, const struct pci_device
> >
> > static void hisi_acc_vfio_pci_remove(struct pci_dev *pdev)
> > {
> > - struct hisi_acc_vf_core_device *hisi_acc_vdev =
> hssi_acc_drvdata(pdev);
> > + struct hisi_acc_vf_core_device *hisi_acc_vdev = hisi_acc_drvdata(pdev);
> >
> > vfio_pci_core_unregister_device(&hisi_acc_vdev->core_device);
> > vfio_pci_core_uninit_device(&hisi_acc_vdev->core_device);
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata()
2022-08-31 14:15 ` Shameerali Kolothum Thodi
@ 2022-08-31 14:24 ` Alex Williamson
0 siblings, 0 replies; 7+ messages in thread
From: Alex Williamson @ 2022-08-31 14:24 UTC (permalink / raw)
To: Shameerali Kolothum Thodi
Cc: kvm@vger.kernel.org, jgg@nvidia.com, kevin.tian@intel.com,
liulongfang, Linuxarm
On Wed, 31 Aug 2022 14:15:38 +0000
Shameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com> wrote:
> > -----Original Message-----
> > From: Alex Williamson [mailto:alex.williamson@redhat.com]
> > Sent: 31 August 2022 15:12
> > To: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com>
> > Cc: kvm@vger.kernel.org; jgg@nvidia.com; kevin.tian@intel.com; liulongfang
> > <liulongfang@huawei.com>; Linuxarm <linuxarm@huawei.com>
> > Subject: Re: [PATCH] hisi_acc_vfio_pci: Correct the function prefix for
> > hssi_acc_drvdata()
> >
> > On Wed, 31 Aug 2022 09:59:43 +0100
> > Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> wrote:
> >
> > > Commit 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the
> > > vfio_pci_core_device in drvdata") introduced a helper function to
> > > retrieve the drvdata but used "hssi" instead of "hisi" for the
> > > function prefix. Correct that and also while at it, moved the
> > > function a bit down so that it's close to other hisi_ prefixed
> > > functions.
> > >
> > > No functional changes.
> > >
> > > Fixes: 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the
> > vfio_pci_core_device in drvdata")
> >
> > The above two lines are usually mutually exclusive, the latter will
> > cause this change to be backported to all releases including that
> > commit. As a largely aesthetic change, is that what you're looking
> > for? Thanks,
>
> Nope. I don't think we need to backport this. Hope you can remove
> the "Fixes" tag while applying the patch.
Yep, I can drop it. Thanks,
Alex
> > > Signed-off-by: Shameer Kolothum
> > <shameerali.kolothum.thodi@huawei.com>
> > > ---
> > > .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 20 +++++++++----------
> > > 1 file changed, 10 insertions(+), 10 deletions(-)
> > >
> > > diff --git a/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
> > b/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
> > > index ea762e28c1cc..258cae0863ea 100644
> > > --- a/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
> > > +++ b/drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
> > > @@ -337,14 +337,6 @@ static int vf_qm_cache_wb(struct hisi_qm *qm)
> > > return 0;
> > > }
> > >
> > > -static struct hisi_acc_vf_core_device *hssi_acc_drvdata(struct pci_dev
> > *pdev)
> > > -{
> > > - struct vfio_pci_core_device *core_device =
> > dev_get_drvdata(&pdev->dev);
> > > -
> > > - return container_of(core_device, struct hisi_acc_vf_core_device,
> > > - core_device);
> > > -}
> > > -
> > > static void vf_qm_fun_reset(struct hisi_acc_vf_core_device
> > *hisi_acc_vdev,
> > > struct hisi_qm *qm)
> > > {
> > > @@ -552,6 +544,14 @@ static int vf_qm_state_save(struct
> > hisi_acc_vf_core_device *hisi_acc_vdev,
> > > return 0;
> > > }
> > >
> > > +static struct hisi_acc_vf_core_device *hisi_acc_drvdata(struct pci_dev
> > *pdev)
> > > +{
> > > + struct vfio_pci_core_device *core_device =
> > dev_get_drvdata(&pdev->dev);
> > > +
> > > + return container_of(core_device, struct hisi_acc_vf_core_device,
> > > + core_device);
> > > +}
> > > +
> > > /* Check the PF's RAS state and Function INT state */
> > > static int
> > > hisi_acc_check_int_state(struct hisi_acc_vf_core_device *hisi_acc_vdev)
> > > @@ -970,7 +970,7 @@ hisi_acc_vfio_pci_get_device_state(struct
> > vfio_device *vdev,
> > >
> > > static void hisi_acc_vf_pci_aer_reset_done(struct pci_dev *pdev)
> > > {
> > > - struct hisi_acc_vf_core_device *hisi_acc_vdev =
> > hssi_acc_drvdata(pdev);
> > > + struct hisi_acc_vf_core_device *hisi_acc_vdev = hisi_acc_drvdata(pdev);
> > >
> > > if (hisi_acc_vdev->core_device.vdev.migration_flags !=
> > > VFIO_MIGRATION_STOP_COPY)
> > > @@ -1301,7 +1301,7 @@ static int hisi_acc_vfio_pci_probe(struct pci_dev
> > *pdev, const struct pci_device
> > >
> > > static void hisi_acc_vfio_pci_remove(struct pci_dev *pdev)
> > > {
> > > - struct hisi_acc_vf_core_device *hisi_acc_vdev =
> > hssi_acc_drvdata(pdev);
> > > + struct hisi_acc_vf_core_device *hisi_acc_vdev = hisi_acc_drvdata(pdev);
> > >
> > > vfio_pci_core_unregister_device(&hisi_acc_vdev->core_device);
> > > vfio_pci_core_uninit_device(&hisi_acc_vdev->core_device);
> >
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [PATCH] hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata()
2022-08-31 8:59 [PATCH] hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata() Shameer Kolothum
2022-08-31 14:06 ` Jason Gunthorpe
2022-08-31 14:12 ` Alex Williamson
@ 2022-09-01 2:04 ` Tian, Kevin
2022-09-02 18:42 ` Alex Williamson
3 siblings, 0 replies; 7+ messages in thread
From: Tian, Kevin @ 2022-09-01 2:04 UTC (permalink / raw)
To: Shameer Kolothum, kvm@vger.kernel.org
Cc: alex.williamson@redhat.com, jgg@nvidia.com,
liulongfang@huawei.com, linuxarm@huawei.com
> From: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
> Sent: Wednesday, August 31, 2022 5:00 PM
>
> Commit 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the
> vfio_pci_core_device in drvdata") introduced a helper function to
> retrieve the drvdata but used "hssi" instead of "hisi" for the
> function prefix. Correct that and also while at it, moved the
> function a bit down so that it's close to other hisi_ prefixed
> functions.
>
> No functional changes.
>
> Fixes: 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the
> vfio_pci_core_device in drvdata")
> Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata()
2022-08-31 8:59 [PATCH] hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata() Shameer Kolothum
` (2 preceding siblings ...)
2022-09-01 2:04 ` Tian, Kevin
@ 2022-09-02 18:42 ` Alex Williamson
3 siblings, 0 replies; 7+ messages in thread
From: Alex Williamson @ 2022-09-02 18:42 UTC (permalink / raw)
To: Shameer Kolothum; +Cc: kvm, jgg, kevin.tian, liulongfang, linuxarm
On Wed, 31 Aug 2022 09:59:43 +0100
Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> wrote:
> Commit 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the
> vfio_pci_core_device in drvdata") introduced a helper function to
> retrieve the drvdata but used "hssi" instead of "hisi" for the
> function prefix. Correct that and also while at it, moved the
> function a bit down so that it's close to other hisi_ prefixed
> functions.
>
> No functional changes.
>
> Fixes: 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the vfio_pci_core_device in drvdata")
> Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
> ---
> .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 20 +++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)
Applied to vfio next branch for v6.1. Thanks,
Alex
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-09-02 18:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-31 8:59 [PATCH] hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata() Shameer Kolothum
2022-08-31 14:06 ` Jason Gunthorpe
2022-08-31 14:12 ` Alex Williamson
2022-08-31 14:15 ` Shameerali Kolothum Thodi
2022-08-31 14:24 ` Alex Williamson
2022-09-01 2:04 ` Tian, Kevin
2022-09-02 18:42 ` Alex Williamson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.