[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230311185725.51937-1-anuradha@debian.org>
Date: Sun, 12 Mar 2023 00:27:22 +0530
From: Anuradha Weeraman <anuradha@...ian.org>
To: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>,
Andy Lutomirski <luto@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Brian Gerst <brgerst@...il.com>,
"Jason A. Donenfeld" <Jason@...c4.com>,
Anuradha Weeraman <anuradha@...ian.org>,
Juergen Gross <jgross@...e.com>,
Andrew Morton <akpm@...ux-foundation.org>,
"Mike Rapoport (IBM)" <rppt@...nel.org>,
Suren Baghdasaryan <surenb@...gle.com>,
Randy Dunlap <rdunlap@...radead.org>,
Jan Beulich <jbeulich@...e.com>, linux-kernel@...r.kernel.org
Subject: [PATCH] x86: Fix W=1 kernel-doc warnings
Fix W=1 kernel-doc warnings for:
- arch/x86/lib/insn-eval.c
- arch/x86/mm/pat/memtype.c
Signed-off-by: Anuradha Weeraman <anuradha@...ian.org>
---
arch/x86/lib/insn-eval.c | 6 +++---
arch/x86/mm/pat/memtype.c | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/x86/lib/insn-eval.c b/arch/x86/lib/insn-eval.c
index 558a605929db..0bc9d87ab95d 100644
--- a/arch/x86/lib/insn-eval.c
+++ b/arch/x86/lib/insn-eval.c
@@ -1129,15 +1129,15 @@ static int get_eff_addr_modrm_16(struct insn *insn, struct pt_regs *regs,
* get_eff_addr_sib() - Obtain referenced effective address via SIB
* @insn: Instruction. Must be valid.
* @regs: Register values as seen when entering kernel mode
- * @regoff: Obtained operand offset, in pt_regs, associated with segment
+ * @base_offset:Obtained operand offset, in pt_regs, associated with segment
* @eff_addr: Obtained effective address
*
* Obtain the effective address referenced by the SIB byte of @insn. After
* identifying the registers involved in the indexed, register-indirect memory
* reference, its value is obtained from the operands in @regs. The computed
* address is stored @eff_addr. Also, the register operand that indicates the
- * associated segment is stored in @regoff, this parameter can later be used to
- * determine such segment.
+ * associated segment is stored in @base_offset, this parameter can later be
+ * used to determine such segment.
*
* Returns:
*
diff --git a/arch/x86/mm/pat/memtype.c b/arch/x86/mm/pat/memtype.c
index 46a00aa858b6..380bec99fab5 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: page frame number
*
* Only to be called when PAT is enabled.
*
--
2.39.2
Powered by blists - more mailing lists