>> +static void vfio_mdev_release(void *device_data)
>> +{
>> +    struct mdev_device *mdev = device_data;
>> +    struct parent_device *parent = mdev->parent;
>> +
>> +    if (parent->ops->release)
> 
> likely()
> 
>> +            parent->ops->release(mdev);
>> +
>> +    module_put(THIS_MODULE);
>> +}
>> +

Thanks for pointing that out. Fixing this in next set of patch.

Kirti

Reply via email to