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

Christoph Hellwig
2022-07-07T13:38:09Z

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.