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

Commit 44210824 authored by Linux Build Service Account's avatar Linux Build Service Account 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 f168cfb8 3929bf05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3061,7 +3061,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 {