[PATCH] selftests: centralise maybe-unused definition in kselftest.h
SeongJae Park
sj at kernel.org
Thu Aug 21 16:56:02 UTC 2025
On Thu, 21 Aug 2025 15:41:59 +0530 Bala-Vignesh-Reddy <reddybalavignesh9979 at gmail.com> wrote:
> Several selftests subdirectories duplicated the define __maybe_unused,
> leading to redundant code. Moved to kselftest.h header and removed
> other definition.
>
> This addresses the duplication noted in the proc-pid-vm warning fix
>
> Suggested-by: Andrew Morton <akpm at linux-foundation.org>
> Link:https://lore.kernel.org/lkml/20250820143954.33d95635e504e94df01930d0@linux-foundation.org/
>
> Signed-off-by: Bala-Vignesh-Reddy <reddybalavignesh9979 at gmail.com>
Acked-by: SeongJae Park <sj at kernel.org>
Thanks,
SJ
[...]
More information about the Linux-security-module-archive
mailing list