All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/mm/pat: fix kernel-doc warning
@ 2024-02-26  9:04 Kunwu Chan
  2024-02-26 16:26 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Kunwu Chan @ 2024-02-26  9:04 UTC (permalink / raw)
  To: dave.hansen, luto, peterz, tglx, mingo, bp, x86, hpa
  Cc: linux-kernel, Kunwu Chan

Fix kernel-doc warning in memtype.c:
arch/x86/mm/pat/memtype.c:710: warning: Function parameter or struct member 'pfn' not described in 'pat_pfn_immune_to_uc_mtrr'

Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
---
 arch/x86/mm/pat/memtype.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/mm/pat/memtype.c b/arch/x86/mm/pat/memtype.c
index 0904d7e8e126..77c86a575268 100644
--- a/arch/x86/mm/pat/memtype.c
+++ b/arch/x86/mm/pat/memtype.c
@@ -700,6 +700,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.
  *
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86/mm/pat: fix kernel-doc warning
  2024-02-26  9:04 [PATCH] x86/mm/pat: fix kernel-doc warning Kunwu Chan
@ 2024-02-26 16:26 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2024-02-26 16:26 UTC (permalink / raw)
  To: Kunwu Chan, dave.hansen, luto, peterz, tglx, mingo, bp, x86, hpa
  Cc: linux-kernel



On 2/26/24 01:04, Kunwu Chan wrote:
> Fix kernel-doc warning in memtype.c:
> arch/x86/mm/pat/memtype.c:710: warning: Function parameter or struct member 'pfn' not described in 'pat_pfn_immune_to_uc_mtrr'
> 
> Signed-off-by: Kunwu Chan <chentao@kylinos.cn>


Reviewed-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.


> ---
>  arch/x86/mm/pat/memtype.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/x86/mm/pat/memtype.c b/arch/x86/mm/pat/memtype.c
> index 0904d7e8e126..77c86a575268 100644
> --- a/arch/x86/mm/pat/memtype.c
> +++ b/arch/x86/mm/pat/memtype.c
> @@ -700,6 +700,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.
>   *

-- 
#Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-26 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-26  9:04 [PATCH] x86/mm/pat: fix kernel-doc warning Kunwu Chan
2024-02-26 16:26 ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.