Two fixes for the scheduler:

 - Work around an uninitializaed variable warning where GCC can't figure it
   out.

 - Allow 'isolcpus=' to skip unknown subparameters so that older kernels
   work with the commandline of a newer kernel. Improve the error output
   while at it.
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
1 file changed