diff options
| author | Borislav Petkov <[email protected]> | 2020-03-27 21:43:34 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2020-04-15 09:06:50 +0000 |
| commit | e0d648f9d883ec1efab261af158d73aa30e9dd12 (patch) | |
| tree | d75221bdb0f120d41e3518bb7ca7665a465e5c29 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | sched/isolation: Allow "isolcpus=" to skip unknown sub-parameters (diff) | |
| download | kernel-e0d648f9d883ec1efab261af158d73aa30e9dd12.tar.gz kernel-e0d648f9d883ec1efab261af158d73aa30e9dd12.zip | |
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 <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
