This commit addresses compiler warnings in lam.c related to the usage
of non-literal format strings without format arguments in the
'run_test' function.
Warnings fixed:
- Resolved warnings indicating that 'ksft_test_result_skip' and
'ksft_test_result' were called with 't->msg' as a format string without
accompanying format arguments.
Changes made:
- Modified the calls to 'ksft_test_result_skip' and 'ksft_test_result'
to explicitly include a format specifier ("%s") for 't->msg'.
- This ensures that the string is safely treated as a format argument,
adhering to safer coding practices and resolving the compiler warnings.
Signed-off-by: angquan yu <angquan21@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| amx.c | ||
| check_cc.sh | ||
| check_initial_reg_state.c | ||
| corrupt_xstate_header.c | ||
| entry_from_vm86.c | ||
| fsgsbase.c | ||
| fsgsbase_restore.c | ||
| helpers.h | ||
| ioperm.c | ||
| iopl.c | ||
| lam.c | ||
| ldt_gdt.c | ||
| mov_ss_trap.c | ||
| nx_stack.c | ||
| ptrace_syscall.c | ||
| raw_syscall_helper_32.S | ||
| sigaltstack.c | ||
| sigreturn.c | ||
| single_step_syscall.c | ||
| syscall_arg_fault.c | ||
| syscall_nt.c | ||
| syscall_numbering.c | ||
| sysret_rip.c | ||
| sysret_ss_attrs.c | ||
| test_FCMOV.c | ||
| test_FCOMI.c | ||
| test_FISTTP.c | ||
| test_mremap_vdso.c | ||
| test_shadow_stack.c | ||
| test_syscall_vdso.c | ||
| test_vsyscall.c | ||
| thunks.S | ||
| thunks_32.S | ||
| trivial_32bit_program.c | ||
| trivial_64bit_program.c | ||
| trivial_program.c | ||
| unwind_vdso.c | ||
| vdso_restorer.c | ||