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

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

Merge "sysctl/sched: do not allow value "0" for sched_{up,down}_migrate knobs"

parents 9c4ffea3 e9bbe149
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3290,7 +3290,7 @@ static int do_proc_douintvec_capacity_conv(bool *negp, unsigned long *lvalp,
					   int *valp, int write, void *data)
{
	if (write) {
		if (*negp)
		if (*negp || *lvalp == 0)
			return -EINVAL;
		*valp = SCHED_FIXEDPOINT_SCALE * 100 / *lvalp;
	} else {