Re: [PATCH v9 02/12] vfio: VFIO based driver for Mediated devices

From: Kirti Wankhede
Date: Wed Oct 26 2016 - 11:01:15 EST



>> +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