Skip to content

Commit 6ba776b

Browse files
rddunlapakpm00
authored andcommitted
mm: leafops.h: correct kernel-doc function param. names
Modify the kernel-doc function parameter names to prevent kernel-doc warnings: Warning: include/linux/leafops.h:135 function parameter 'entry' not described in 'leafent_type' Warning: include/linux/leafops.h:540 function parameter 'pte' not described in 'pte_is_uffd_marker' Link: https://lkml.kernel.org/r/20251214201517.2187051-1-rdunlap@infradead.org Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 6a0e5b3 commit 6ba776b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/leafops.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static inline bool softleaf_is_none(softleaf_t entry)
133133

134134
/**
135135
* softleaf_type() - Identify the type of leaf entry.
136-
* @enntry: Leaf entry.
136+
* @entry: Leaf entry.
137137
*
138138
* Returns: the leaf entry type associated with @entry.
139139
*/
@@ -534,7 +534,7 @@ static inline bool pte_is_uffd_wp_marker(pte_t pte)
534534
/**
535535
* pte_is_uffd_marker() - Does this PTE entry encode a userfault-specific marker
536536
* leaf entry?
537-
* @entry: Leaf entry.
537+
* @pte: PTE entry.
538538
*
539539
* It's useful to be able to determine which leaf entries encode UFFD-specific
540540
* markers so we can handle these correctly.

0 commit comments

Comments
 (0)