diff options
| author | Harish <[email protected]> | 2020-12-01 14:54:03 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-12-04 01:01:21 +1100 |
| commit | c9344769e2b46ba28b947bec7a8a8f0a091ecd57 (patch) | |
| tree | f4d2b0ae604c438d225fc4e04332d4bb099a78fb /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | f0812f6ca8299e864fe0f41bd7ffdaae3ce7630e (diff) | |
selftests/powerpc: Fix uninitialized variable warning
Patch fixes uninitialized variable warning in bad_accesses test
which causes the selftests build to fail in older distibutions
bad_accesses.c: In function ‘bad_access’:
bad_accesses.c:52:9: error: ‘x’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
printf("Bad - no SEGV! (%c)\n", x);
^
cc1: all warnings being treated as errors
Signed-off-by: Harish <[email protected]>
Signed-off-by: Michael Ellerman <[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