-----Original Message----- From: liulongfang liulongfang@huawei.com Sent: Tuesday, November 12, 2024 7:33 AM To: alex.williamson@redhat.com; jgg@nvidia.com; Shameerali Kolothum Thodi shameerali.kolothum.thodi@huawei.com; Jonathan Cameron jonathan.cameron@huawei.com Cc: kvm@vger.kernel.org; linux-kernel@vger.kernel.org; linuxarm@openeuler.org; liulongfang liulongfang@huawei.com Subject: [PATCH v15 3/4] hisi_acc_vfio_pci: register debugfs for hisilicon migration driver
+static void 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 hisi_acc_vf_migration_file *migf = NULL;
- struct dentry *vfio_dev_migration = NULL;
- struct dentry *vfio_hisi_acc = NULL;
Nit, I think we can get rid of these NULL initializations.
If you have time, please consider respin (sorry, missed this in earlier reviews.)
Thanks, Shameer