Re: [PATCH] selftests: proc: mark vsyscall strings maybe-unused
From: Bala-Vignesh-Reddy
Date: Thu Aug 21 2025 - 06:33:25 EST
Hi Andrew,
Thanks for your feedback, I didn't notice that __maybe_unused is
defined repeatedly in selftests directory.
Following your suggestions, I've submitted a cleanup patch that centralise
the __maybe_unused definition in tools/testing/selftests/kselftest.h and
removed the redundant copies across the selftests subdirectories.
I've tested it with gcc and clang, and it builds cleanly.
Patch Link:
https://lore.kernel.org/lkml/20250821101159.2238-1-reddybalavignesh9979@xxxxxxxxx/
Will also look into build system, to tackle including kselftest.h everywhere
Thanks,
Bala Vignesh