[PATCH 15/15] vfio/mdev: remove an extra parent kobject reference

Christoph Hellwig hch at lst.de
Thu Jul 7 13:37:59 UTC 2022


On Wed, Jul 06, 2022 at 07:18:48PM +0530, Kirti Wankhede wrote:
>> -		kobject_put(&type->kobj);
>
> This kobject_put is required here in error case, see description above 
> kobject_init_and_add().

And they are completely unrelated anyway, this should have never slipped
in.


More information about the intel-gvt-dev mailing list