linux/kernel/sched
Borislav Petkov e0d648f9d8 sched/vtime: Work around an unitialized variable warning
Work around this warning:

  kernel/sched/cputime.c: In function ‘kcpustat_field’:
  kernel/sched/cputime.c:1007:6: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized]

because GCC can't see that val is used only when err is 0.

Acked-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200327214334.GF8015@zn.tnic
2020-04-15 11:06:50 +02:00
..
autogroup.c
autogroup.h
clock.c
completion.c
core.c sched/core: Remove unused rq::last_load_update_tick 2020-04-08 11:35:23 +02:00
cpuacct.c
cpudeadline.c
cpudeadline.h
cpufreq_schedutil.c
cpufreq.c
cpupri.c
cpupri.h
cputime.c sched/vtime: Work around an unitialized variable warning 2020-04-15 11:06:50 +02:00
deadline.c
debug.c sched/debug: Add task uclamp values to SCHED_DEBUG procfs 2020-04-08 11:35:27 +02:00
fair.c sched/fair: Fix negative imbalance in imbalance calculation 2020-04-08 11:35:20 +02:00
features.h
idle.c
isolation.c sched/isolation: Allow "isolcpus=" to skip unknown sub-parameters 2020-04-15 10:38:26 +02:00
loadavg.c
Makefile
membarrier.c
pelt.c
pelt.h
psi.c
rt.c
sched-pelt.h
sched.h sched/core: Remove unused rq::last_load_update_tick 2020-04-08 11:35:23 +02:00
stats.c
stats.h
stop_task.c
swait.c
topology.c
wait_bit.c
wait.c