Thread (5 messages) 5 messages, 5 authors, 2025-08-22

Re: [PATCH] selftests: centralise maybe-unused definition in kselftest.h

From: SeongJae Park <sj@kernel.org>
Date: 2025-08-21 16:56:04
Also in: linux-block, linux-fsdevel, linux-kselftest, linux-mm, lkml, netdev

On Thu, 21 Aug 2025 15:41:59 +0530 Bala-Vignesh-Reddy [off-list ref] 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@linux-foundation.org>
Link:https://lore.kernel.org/lkml/20250820143954.33d95635e504e94df01930d0@linux-foundation.org/ (local)

Signed-off-by: Bala-Vignesh-Reddy <redacted>
Acked-by: SeongJae Park <sj@kernel.org>


Thanks,
SJ

[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help