diff options
| author | Thomas Weißschuh <[email protected]> | 2025-06-11 10:33:55 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2025-07-01 13:50:42 +0000 |
| commit | ecabe99a0354fcfa237b75d72a2707b3ace3d5e9 (patch) | |
| tree | 7809af752475b511a0d43f823a7a45f7cfd39254 /lib/crypto/mpi/mpiutil.c | |
| parent | selftests: vDSO: vdso_test_getrandom: Avoid -Wunused (diff) | |
| download | kernel-ecabe99a0354fcfa237b75d72a2707b3ace3d5e9.tar.gz kernel-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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Muhammad Usama Anjum <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
