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 |
||
---|---|---|
.. | ||
.gitignore | ||
bad_accesses.c | ||
hugetlb_vs_thp_test.c | ||
large_vm_fork_separation.c | ||
Makefile | ||
pkey_exec_prot.c | ||
pkey_siginfo.c | ||
prot_sao.c | ||
segv_errors.c | ||
stack_expansion_ldst.c | ||
stack_expansion_signal.c | ||
subpage_prot.c | ||
tlbie_test.c | ||
wild_bctr.c |