All of lore.kernel.org
 help / color / mirror / Atom feed
* + compiler_typesh-fix-unused-variable-in-__compiletime_assert-fix.patch added to mm-nonmm-unstable branch
@ 2025-04-24 21:56 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-04-24 21:56 UTC (permalink / raw)
  To: mm-commits, Marc.Herbert, akpm, akpm


The patch titled
     Subject: compiler_typesh-fix-unused-variable-in-__compiletime_assert-fix
has been added to the -mm mm-nonmm-unstable branch.  Its filename is
     compiler_typesh-fix-unused-variable-in-__compiletime_assert-fix.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/compiler_typesh-fix-unused-variable-in-__compiletime_assert-fix.patch

This patch will later appear in the mm-nonmm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: compiler_typesh-fix-unused-variable-in-__compiletime_assert-fix
Date: Thu Apr 24 02:53:15 PM PDT 2025

regularize comment layout, reflow comment

Cc: Marc Herbert <Marc.Herbert@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/compiler_types.h |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

--- a/include/linux/compiler_types.h~compiler_typesh-fix-unused-variable-in-__compiletime_assert-fix
+++ a/include/linux/compiler_types.h
@@ -525,10 +525,11 @@ struct ftrace_likely_data {
 	 sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
 
 #ifdef __OPTIMIZE__
-/* #ifdef __OPTIMIZE__ is only a good approximation; for instance "make
- * CFLAGS_foo.o=-Og" defines __OPTIMIZE__, does not elide the
- * conditional code and can break compilation with wrong error
- * message(s). Combine with -U__OPTIMIZE__ when needed.
+/*
+ * #ifdef __OPTIMIZE__ is only a good approximation; for instance "make
+ * CFLAGS_foo.o=-Og" defines __OPTIMIZE__, does not elide the conditional code
+ * and can break compilation with wrong error message(s). Combine with
+ * -U__OPTIMIZE__ when needed.
  */
 # define __compiletime_assert(condition, msg, prefix, suffix)		\
 	do {								\
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

x86-disable-image-size-check-for-test-builds-fix.patch
x86-disable-image-size-check-for-test-builds-fix-fix.patch
mm-debug-fix-parameter-passed-to-page_mapcount_is_type-fix.patch
vmalloc-switch-to-for_each_vmap_node-helper-fix.patch
mm-add-zblock-allocator-fix.patch
compiler_typesh-fix-unused-variable-in-__compiletime_assert-fix.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-24 21:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-24 21:56 + compiler_typesh-fix-unused-variable-in-__compiletime_assert-fix.patch added to mm-nonmm-unstable branch 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.