Re: [PATCH v8 3/5] hisi_acc_vfio_pci: register debugfs for hisilicon migration driver

From: liulongfang
Date: Tue Mar 14 2023 - 06:37:49 EST


On 2023/3/11 1:22, Jason Gunthorpe wrote:
> On Fri, Feb 17, 2023 at 04:48:29PM +0800, Longfang Liu wrote:
>
>> +static int hisi_acc_vfio_debug_init(struct hisi_acc_vf_core_device *hisi_acc_vdev)
>> +{
>> + struct vfio_device *vdev = &hisi_acc_vdev->core_device.vdev;
>> + struct device *dev = vdev->dev;
>> + void *migf = NULL;
>> +
>> + if (!debugfs_initialized())
>> + return 0;
>> +
>> + vfio_vf_debugfs_init(vdev);
>
> This is weirdly named with _vf_, this is just
> vfio_device_debufs_init()
>
OK,

Thanks,
Longfang.
> Jason
> .
>