* [failures] compiler_types-remove-unnecessary-indirection-in-compiletime_assert.patch removed from -mm tree
@ 2025-06-09 1:24 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-06-09 1:24 UTC (permalink / raw)
To: mm-commits, ojeda, kees, tz2294, akpm
The quilt patch titled
Subject: compiler_types: remove unnecessary indirection in compiletime_assert()
has been removed from the -mm tree. Its filename was
compiler_types-remove-unnecessary-indirection-in-compiletime_assert.patch
This patch was dropped because it had testing failures
------------------------------------------------------
From: Tal Zussman <tz2294@columbia.edu>
Subject: compiler_types: remove unnecessary indirection in compiletime_assert()
Date: Sat, 07 Jun 2025 03:23:55 -0400
compiletime_assert() is the only user of _compiletime_assert(), which uses
__compiletime_assert() directly with no modification to arguments. Remove
_compiletime_assert() and use __compiletime_assert() directly.
Link: https://lkml.kernel.org/r/20250607-compiletime_assert-v1-1-a8991a9be729@columbia.edu
Signed-off-by: Tal Zussman <tz2294@columbia.edu>
Cc: Kees Cook <kees@kernel.org>
Cc: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/compiler_types.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
--- a/include/linux/compiler_types.h~compiler_types-remove-unnecessary-indirection-in-compiletime_assert
+++ a/include/linux/compiler_types.h
@@ -552,9 +552,6 @@ struct ftrace_likely_data {
# define __compiletime_assert(condition, msg, prefix, suffix) ((void)(condition))
#endif
-#define _compiletime_assert(condition, msg, prefix, suffix) \
- __compiletime_assert(condition, msg, prefix, suffix)
-
/**
* compiletime_assert - break build and emit msg if condition is false
* @condition: a compile-time constant condition to check
@@ -565,7 +562,7 @@ struct ftrace_likely_data {
* compiler has support to do so.
*/
#define compiletime_assert(condition, msg) \
- _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
+ __compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
#define compiletime_assert_atomic_type(t) \
compiletime_assert(__native_word(t), \
_
Patches currently in -mm which might be from tz2294@columbia.edu are
userfaultfd-correctly-prevent-registering-vm_droppable-regions.patch
userfaultfd-remove-vm_bug_ons.patch
userfaultfd-prevent-unregistering-vmas-through-a-different-userfaultfd.patch
userfaultfd-remove-uffd_cloexec-uffd_nonblock-and-uffd_flags_set.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-09 1:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-09 1:24 [failures] compiler_types-remove-unnecessary-indirection-in-compiletime_assert.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.