diff options
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-06-11 12:33:55 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-07-01 15:50:42 +0200 |
commit | ecabe99a0354fcfa237b75d72a2707b3ace3d5e9 (patch) | |
tree | 7809af752475b511a0d43f823a7a45f7cfd39254 /scripts/lib/kdoc/kdoc_parser.py | |
parent | b8ae430871254f95dd81dcff01828be3f6b24a57 (diff) |
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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions