Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Randy Dunlap and committed by
Andrew Morton
6ba776b5 6a0e5b33

+2 -2
+2 -2
include/linux/leafops.h
··· 133 133 134 134 /** 135 135 * softleaf_type() - Identify the type of leaf entry. 136 - * @enntry: Leaf entry. 136 + * @entry: Leaf entry. 137 137 * 138 138 * Returns: the leaf entry type associated with @entry. 139 139 */ ··· 534 534 /** 535 535 * pte_is_uffd_marker() - Does this PTE entry encode a userfault-specific marker 536 536 * leaf entry? 537 - * @entry: Leaf entry. 537 + * @pte: PTE entry. 538 538 * 539 539 * It's useful to be able to determine which leaf entries encode UFFD-specific 540 540 * markers so we can handle these correctly.