Skip to contentSkip to conversation

clang-format-fix-formatting-of-guard-and-scoped_guard-statements.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message May 29

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: clang-format: fix formatting of guard() and scoped_guard() statements
has been removed from the -mm tree. Its filename was
clang-format-fix-formatting-of-guard-and-scoped_guard-statements.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Bart Van Assche <[email protected]>
Subject: clang-format: fix formatting of guard() and scoped_guard() statements
Date: Mon, 13 Apr 2026 11:23:48 -0700

Without this patch clang-format formats guard() and scoped_guard() statements as follows:

	guard(...)(...)
	{
		...
	}

With this patch clang-format formats guard() and scoped_guard() statements as follows:

	guard(...)(...) {
		...
	}

---

 .clang-format |    2 ++
 1 file changed, 2 insertions(+)
.clang-format renamed from .clang-format~clang-format-fix-formatting-of-guard-and-scoped_guard-statements +2 -0
@@ -481,6 +481,7 @@ ForEachMacros:
   - 'genradix_for_each'
   - 'genradix_for_each_from'
   - 'genradix_for_each_reverse'
+  - 'guard'
   - 'hash_for_each'
   - 'hash_for_each_possible'
   - 'hash_for_each_possible_rcu'
@@ -674,6 +675,7 @@ ForEachMacros:
   - 'rq_list_for_each'
   - 'rq_list_for_each_safe'
   - 'sample_read_group__for_each'
+  - 'scoped_guard'
   - 'scsi_for_each_prot_sg'
   - 'scsi_for_each_sg'
   - 'sctp_for_each_hentry'

_

Patches currently in -mm which might be from [email protected] are

lib-split-codetag_lock_module_list.patch