diff options
author | 2025-06-11 12:33:55 +0200 | |
---|---|---|
committer | 2025-07-01 15:50:42 +0200 | |
commit | ecabe99a0354fcfa237b75d72a2707b3ace3d5e9 (patch) | |
tree | 7809af752475b511a0d43f823a7a45f7cfd39254 /tools/perf/scripts/python | |
parent | selftests: vDSO: vdso_test_getrandom: Avoid -Wunused (diff) | |
download | wireguard-linux-ecabe99a0354fcfa237b75d72a2707b3ace3d5e9.tar.xz wireguard-linux-ecabe99a0354fcfa237b75d72a2707b3ace3d5e9.zip |
selftests: vDSO: vdso_config: Avoid -Wunused-variables
Not all users of this header make use of all its variables.
For example vdso_test_correctness.c does not use "versions":
In file included from vdso_test_correctness.c:22:
vdso_config.h:61:20: warning: ‘versions’ defined but not used [-Wunused-variable]
61 | static const char *versions[7] = {
| ^~~~~~~~
Avoid those warnings through attribute((unused)).
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Link: https://lore.kernel.org/all/20250611-selftests-vdso-fixes-v3-5-e62e37a6bcf5@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions