linux/tools/testing/selftests/x86
angquan yu 9686e7f59b selftests:x86: Fix Format String Warnings in lam.c
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>
2023-11-30 14:32:41 -07:00
..
.gitignore
amx.c selftests/x86/amx: Add a ptrace test 2023-03-22 11:00:49 -07:00
check_cc.sh selftests/x86: Add validity check and allow field splitting 2022-02-17 11:55:17 -08:00
check_initial_reg_state.c
corrupt_xstate_header.c selftests/x86/corrupt_xstate_header: Use provided __cpuid_count() macro 2022-04-25 15:13:03 -06:00
entry_from_vm86.c
fsgsbase_restore.c
fsgsbase.c
helpers.h
ioperm.c
iopl.c selftests/x86/iopl: Adjust to the faked iopl CLI/STI usage 2021-10-30 23:18:04 +02:00
lam.c selftests:x86: Fix Format String Warnings in lam.c 2023-11-30 14:32:41 -07:00
ldt_gdt.c
Makefile selftests/x86/mm: Add new test that userspace stack is in fact NX 2023-10-03 21:00:45 +02:00
mov_ss_trap.c selftests/x86: Fix error: variably modified 'altstack_data' at file scope 2021-08-25 16:54:39 -06:00
nx_stack.c selftests/x86/mm: Add new test that userspace stack is in fact NX 2023-10-03 21:00:45 +02:00
ptrace_syscall.c
raw_syscall_helper_32.S
sigaltstack.c
sigreturn.c selftests/x86: Fix error: variably modified 'altstack_data' at file scope 2021-08-25 16:54:39 -06:00
single_step_syscall.c selftests/x86: Fix error: variably modified 'altstack_data' at file scope 2021-08-25 16:54:39 -06:00
syscall_arg_fault.c selftests/x86: Fix error: variably modified 'altstack_data' at file scope 2021-08-25 16:54:39 -06:00
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 selftests/x86: Update map_shadow_stack syscall nr 2023-09-01 23:34:13 +02:00
test_syscall_vdso.c
test_vsyscall.c selftests: Emit a warning if getcpu() is missing on 32bit 2023-02-06 15:48:54 +01:00
thunks_32.S
thunks.S
trivial_32bit_program.c
trivial_64bit_program.c
trivial_program.c
unwind_vdso.c
vdso_restorer.c