diff options
author | Bala-Vignesh-Reddy <reddybalavignesh9979@gmail.com> | 2025-08-20 23:26:10 +0530 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-13 17:32:53 -0700 |
commit | 17bdc64c0d419b78bb400c221d36eaa391d16b3a (patch) | |
tree | 7e4d9598423a175b8943609fa82e121a28a7091a /scripts/gdb/linux/timerlist.py | |
parent | 3e3f55f8b73fa0e5c4df50f8b6c001f0a1f18adf (diff) |
selftests: proc: mark vsyscall strings maybe-unused
The str_vsyscall_* constants in proc-pid-vm.c triggers
-Wunused-const-variable warnings with gcc-13.32 and clang 18.1.
Define and apply __maybe_unused locally to suppress the warnings. No
functional change
Fixes compiler warning:
warning: `str_vsyscall_*' defined but not used[-Wunused-const-variable]
Link: https://lkml.kernel.org/r/20250820175610.83014-1-reddybalavignesh9979@gmail.com
Signed-off-by: Bala-Vignesh-Reddy <reddybalavignesh9979@gmail.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions