]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/mm: centralize the __always_unused macro
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Fri, 12 Sep 2025 12:51:01 +0000 (17:51 +0500)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 21 Sep 2025 21:22:33 +0000 (14:22 -0700)
commit5ea8ab7f93139c63626830b48b36aab4e62b3f8f
tree6a0735e40bdf02e77f6646e2df3b6df74dd6bc7c
parent7db551fcfb2aa8a20740406d41b48fd4365fd17f
selftests/mm: centralize the __always_unused macro

This macro gets used in different tests.  Add it to kselftest.h which is
central location and tests use this header.  Then use this new macro.

Link: https://lkml.kernel.org/r/20250912125102.1309796-1-usama.anjum@collabora.com
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Antonio Quartulli <antonio@openvpn.net>
Cc: David S. Miller <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kacinski <kuba@kernel.org>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: "Sabrina Dubroca" <sd@queasysnail.net>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Simon Horman <horms@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/kselftest.h
tools/testing/selftests/mm/protection_keys.c
tools/testing/selftests/net/ovpn/ovpn-cli.c