Skip to content

Commit bd6afa4

Browse files
shivankgarg98Ingo Molnar
authored andcommitted
x86/mm/pat: Fix W=1 build kernel-doc warning
Building the kernel with W=1 generates the following warning: arch/x86/mm/pat/memtype.c:692: warning: Function parameter or struct member 'pfn' not described in 'pat_pfn_immune_to_uc_mtrr' Add missing parameter documentation to fix the kernel-doc warning. Signed-off-by: Shivank Garg <shivankg@amd.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20250514062637.3287779-3-shivankg@amd.com
1 parent 003f144 commit bd6afa4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/mm/pat/memtype.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,7 @@ static enum page_cache_mode lookup_memtype(u64 paddr)
682682
/**
683683
* pat_pfn_immune_to_uc_mtrr - Check whether the PAT memory type
684684
* of @pfn cannot be overridden by UC MTRR memory type.
685+
* @pfn: The page frame number to check.
685686
*
686687
* Only to be called when PAT is enabled.
687688
*

0 commit comments

Comments
 (0)