Commit 7392f8e4 authored by Randy Dunlap's avatar Randy Dunlap Committed by Andrew Morton
Browse files

uaccess: correct kernel-doc parameter format

Use the correct kernel-doc function parameter format to avoid kernel-doc
warnings:

Warning: include/linux/uaccess.h:814 function parameter 'uptr' not
 described in 'scoped_user_rw_access_size'
Warning: include/linux/uaccess.h:826 function parameter 'uptr' not
 described in 'scoped_user_rw_access'

Link: https://lkml.kernel.org/r/20260302005229.3471955-1-rdunlap@infradead.org


Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 577a1f49
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -806,7 +806,7 @@ for (bool done = false; !done; done = true) \

/**
 * scoped_user_rw_access_size - Start a scoped user read/write access with given size
 * @uptr	Pointer to the user space address to read from and write to
 * @uptr:	Pointer to the user space address to read from and write to
 * @size:	Size of the access starting from @uptr
 * @elbl:	Error label to goto when the access region is rejected
 *
@@ -817,7 +817,7 @@ for (bool done = false; !done; done = true) \

/**
 * scoped_user_rw_access - Start a scoped user read/write access
 * @uptr	Pointer to the user space address to read from and write to
 * @uptr:	Pointer to the user space address to read from and write to
 * @elbl:	Error label to goto when the access region is rejected
 *
 * The size of the access starting from @uptr is determined via sizeof(*@uptr)).