1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/powerpc/mm
Harish c9344769e2 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 <harish@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201201092403.238182-1-harish@linux.ibm.com
2020-12-04 01:01:21 +11:00
..
.gitignore Revert "powerpc/64s: Remove PROT_SAO support" 2020-08-24 14:12:53 +10:00
bad_accesses.c selftests/powerpc: Fix uninitialized variable warning 2020-12-04 01:01:21 +11:00
hugetlb_vs_thp_test.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
large_vm_fork_separation.c selftests/powerpc: Add test of fork with mapping above 512TB 2019-06-13 12:09:48 +10:00
Makefile Revert "powerpc/64s: Remove PROT_SAO support" 2020-08-24 14:12:53 +10:00
pkey_exec_prot.c selftests/powerpc: Harden test for execute-disabled pkeys 2020-07-29 21:02:10 +10:00
pkey_siginfo.c selftests/powerpc: Add test for pkey siginfo verification 2020-07-29 21:02:10 +10:00
prot_sao.c selftests/powerpc: Skip PROT_SAO test in guests/LPARS 2020-09-01 22:47:02 +10:00
segv_errors.c selftests/powerpc: Add a test of SEGV error behaviour 2018-01-03 16:49:24 +11:00
stack_expansion_ldst.c selftests/powerpc: Remove powerpc special cases from stack expansion test 2020-07-29 21:02:12 +10:00
stack_expansion_signal.c selftests/powerpc: Add test of stack expansion logic 2020-07-29 21:02:11 +10:00
subpage_prot.c selftests/powerpc: Skip the subpage_prot tests if the syscall is unavailable 2018-03-02 11:37:04 +11:00
tlbie_test.c selftests/powerpc: Fix compile error on tlbie_test due to newer gcc 2019-10-09 17:16:59 +11:00
wild_bctr.c selftests/powerpc: Adjust wild_bctr to build with old binutils 2018-11-15 23:05:17 +11:00