mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 15:55:28 -04:00
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
This commit is contained in:
committed by
Ingo Molnar
parent
003f144ca0
commit
bd6afa43ee
@@ -682,6 +682,7 @@ static enum page_cache_mode lookup_memtype(u64 paddr)
|
||||
/**
|
||||
* pat_pfn_immune_to_uc_mtrr - Check whether the PAT memory type
|
||||
* of @pfn cannot be overridden by UC MTRR memory type.
|
||||
* @pfn: The page frame number to check.
|
||||
*
|
||||
* Only to be called when PAT is enabled.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user