Skip to contentSkip to conversation

util_macrosh-fix-kernel-doc-for-u64_to_user_ptr.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Nov 20, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: util_macros.h: fix kernel-doc for u64_to_user_ptr()
has been removed from the -mm tree. Its filename was
util_macrosh-fix-kernel-doc-for-u64_to_user_ptr.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 kernel-doc for u64_to_user_ptr()
Date: Tue, 4 Nov 2025 19:38:34 +0100

The added documentation to u64_to_user_ptr() misspelled the function name. Fix it.

Fixes 029c896c4105 ("kernel.h: move PTR_IF() and u64_to_user_ptr() to util_macros.h")
Cc Alexandru Ardelean <[email protected]>

---

 include/linux/util_macros.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/util_macros.h renamed from include/linux/util_macros.h~util_macrosh-fix-kernel-doc-for-u64_to_user_ptr +2 -2
@@ -136,10 +136,10 @@
 #define PTR_IF(cond, ptr)	((cond) ? (ptr) : NULL)
 
 /**
- * to_user_ptr - cast a pointer passed as u64 from user space to void __user *
+ * u64_to_user_ptr - cast a pointer passed as u64 from user space to void __user *
  * @x: The u64 value from user space, usually via IOCTL
  *
- * to_user_ptr() simply casts a pointer passed as u64 from user space to void
+ * u64_to_user_ptr() simply casts a pointer passed as u64 from user space to void
  * __user * correctly. Using this lets us get rid of all the tiresome casts.
  */
 #define u64_to_user_ptr(x)		\

_

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