Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d50c12b3 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: Remove incorrect error check from Guest VM PIL Loader"

parents 3abde01f e3f87b09
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -82,8 +82,8 @@ static ssize_t guestvm_load_start(struct kobject *kobj,

	priv = container_of(kobj, struct guestvm_loader_private,
				vm_loader_kobj);
	if (ret != 1 || priv->vm_loaded) {
		dev_err(priv->dev, "invalid arguments for guestvm_loader.\n");
	if (priv->vm_loaded) {
		dev_err(priv->dev, "VM load has already been started\n");
		return -EINVAL;
	}

@@ -99,7 +99,7 @@ static ssize_t guestvm_load_start(struct kobject *kobj,
		schedule_work(&priv->vm_loader_work);
	}

	return ret;
	return count;
}
static struct kobj_attribute guestvm_loader_attribute =
__ATTR(boot_guestvm, 0220, NULL, guestvm_load_start);