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

Commit c71f8e4a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm-core: use get_user() API to read userspace data/settings"

parents c5cf2c4e 6997dcb7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -486,9 +486,9 @@ static long msm_core_ioctl(struct file *file, unsigned int cmd,
		return -EINVAL;

	get_user(cluster, &argp->cluster);
	mpidr = (argp->cluster << (MAX_CORES_PER_CLUSTER *
	mpidr = (cluster << (MAX_CORES_PER_CLUSTER *
			MAX_NUM_OF_CLUSTERS));
	cpumask = argp->cpumask;
	get_user(cpumask, &argp->cpumask);

	switch (cmd) {
	case EA_LEAKAGE: