util_macros.h: Fix kernel-doc for u64_to_user_ptr()
PATCH 1/1 util_macros.h: Fix kernel-doc for u64_to_user_ptr()
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")
Signed-off-by Andy Shevchenko <[email protected]>
--- include/linux/util_macros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/util_macros.h +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) \
Signature · 1 line
2.50.1