Commit 0c70814c311581a6c86198db4f982aa683c68fb8
Committed by
Linus Torvalds
1 parent
b7cffc1f29
Exists in
master
and in
4 other branches
cgroups: fix compile warning
Return type of cpu_rt_runtime_write() should be int instead of ssize_t. Signed-off-by: Mirco Tischler <mt-ml@gmx.de> Acked-by: Paul Menage <menage@google.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
kernel/sched.c
... | ... | @@ -8986,7 +8986,7 @@ |
8986 | 8986 | #endif |
8987 | 8987 | |
8988 | 8988 | #ifdef CONFIG_RT_GROUP_SCHED |
8989 | -static ssize_t cpu_rt_runtime_write(struct cgroup *cgrp, struct cftype *cft, | |
8989 | +static int cpu_rt_runtime_write(struct cgroup *cgrp, struct cftype *cft, | |
8990 | 8990 | s64 val) |
8991 | 8991 | { |
8992 | 8992 | return sched_group_set_rt_runtime(cgroup_tg(cgrp), val); |