Skip to content

Commit 7392f8e

Browse files
rddunlapakpm00
authored andcommitted
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/[email protected] Signed-off-by: Randy Dunlap <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 577a1f4 commit 7392f8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/linux/uaccess.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ for (bool done = false; !done; done = true) \
806806

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

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

0 commit comments

Comments
 (0)