Merge branch 'qiushi-wu-mdev-ref-v1' into v5.8/vfio/next
This commit is contained in:
commit
ea20868c71
|
@ -110,7 +110,7 @@ static struct mdev_type *add_mdev_supported_type(struct mdev_parent *parent,
|
|||
"%s-%s", dev_driver_string(parent->dev),
|
||||
group->name);
|
||||
if (ret) {
|
||||
kfree(type);
|
||||
kobject_put(&type->kobj);
|
||||
return ERR_PTR(ret);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue