Skip to contentSkip to conversation

util_macrosh-fix-the-reference-in-kernel-doc.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message May 12, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: util_macros.h: fix the reference in kernel-doc
has been removed from the -mm tree. Its filename was
util_macrosh-fix-the-reference-in-kernel-doc.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: Andy Shevchenko <[email protected]>
Subject: util_macros.h: fix the reference in kernel-doc
Date: Mon, 28 Apr 2025 10:27:37 +0300

In PTR_IF() description the text refers to the parameter as (ptr) while the kernel-doc format asks for @ptr. Fix this accordingly.

---

 include/linux/util_macros.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/util_macros.h renamed from include/linux/util_macros.h~util_macrosh-fix-the-reference-in-kernel-doc +1 -1
@@ -85,7 +85,7 @@
  * @ptr: A pointer to assign if @cond is true.
  *
  * PTR_IF(IS_ENABLED(CONFIG_FOO), ptr) evaluates to @ptr if CONFIG_FOO is set
- * to 'y' or 'm', or to NULL otherwise. The (ptr) argument must be a pointer.
+ * to 'y' or 'm', or to NULL otherwise. The @ptr argument must be a pointer.
  *
  * The macro can be very useful to help compiler dropping dead code.
  *

_

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

util_macrosh-make-the-header-more-resilient.patch