Commit 0c70814c authored by Mirco Tischler's avatar Mirco Tischler Committed by Linus Torvalds
Browse files

cgroups: fix compile warning

Return type of cpu_rt_runtime_write() should be int instead of ssize_t.
Signed-off-by: default avatarMirco Tischler <>
Acked-by: default avatarPaul Menage <>
Cc: Ingo Molnar <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent b7cffc1f
......@@ -8986,7 +8986,7 @@ static u64 cpu_shares_read_u64(struct cgroup *cgrp, struct cftype *cft)
static ssize_t cpu_rt_runtime_write(struct cgroup *cgrp, struct cftype *cft,
static int cpu_rt_runtime_write(struct cgroup *cgrp, struct cftype *cft,
s64 val)
return sched_group_set_rt_runtime(cgroup_tg(cgrp), val);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment