mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/insn-eval: Few typo fixes
@ 2021-03-21 20:02 Bhaskar Chowdhury
  2021-03-21 20:06 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-21 20:02 UTC (permalink / raw)
  To: tglx, mingo, bp, x86, hpa, jroedel, mhiramat, gustavoars,
	unixbhaskar, linux-kernel
  Cc: rdunlap


s/deterimine/determine/
s/invalild/invalid/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 arch/x86/lib/insn-eval.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/lib/insn-eval.c b/arch/x86/lib/insn-eval.c
index bb0b3fe1e0a0..fdd9226863d3 100644
--- a/arch/x86/lib/insn-eval.c
+++ b/arch/x86/lib/insn-eval.c
@@ -232,7 +232,7 @@ static int resolve_default_seg(struct insn *insn, struct pt_regs *regs, int off)
  * resolve_seg_reg() - obtain segment register index
  * @insn:	Instruction with operands
  * @regs:	Register values as seen when entering kernel mode
- * @regoff:	Operand offset, in pt_regs, used to deterimine segment register
+ * @regoff:	Operand offset, in pt_regs, used to determine segment register
  *
  * Determine the segment register associated with the operands and, if
  * applicable, prefixes and the instruction pointed by @insn.
@@ -576,7 +576,7 @@ static int get_reg_offset_16(struct insn *insn, struct pt_regs *regs,
 	 * If ModRM.mod is 0 and ModRM.rm is 110b, then we use displacement-
 	 * only addressing. This means that no registers are involved in
 	 * computing the effective address. Thus, ensure that the first
-	 * register offset is invalild. The second register offset is already
+	 * register offset is invalid. The second register offset is already
 	 * invalid under the aforementioned conditions.
 	 */
 	if ((X86_MODRM_MOD(insn->modrm.value) == 0) &&
--
2.31.0


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

* Re: [PATCH] x86/insn-eval: Few typo fixes
  2021-03-21 20:02 [PATCH] x86/insn-eval: Few typo fixes Bhaskar Chowdhury
@ 2021-03-21 20:06 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2021-03-21 20:06 UTC (permalink / raw)
  To: Bhaskar Chowdhury
  Cc: tglx, mingo, bp, x86, hpa, jroedel, mhiramat, gustavoars, linux-kernel



On Mon, 22 Mar 2021, Bhaskar Chowdhury wrote:

>
> s/deterimine/determine/
> s/invalild/invalid/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

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

> ---
> arch/x86/lib/insn-eval.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/lib/insn-eval.c b/arch/x86/lib/insn-eval.c
> index bb0b3fe1e0a0..fdd9226863d3 100644
> --- a/arch/x86/lib/insn-eval.c
> +++ b/arch/x86/lib/insn-eval.c
> @@ -232,7 +232,7 @@ static int resolve_default_seg(struct insn *insn, struct pt_regs *regs, int off)
>  * resolve_seg_reg() - obtain segment register index
>  * @insn:	Instruction with operands
>  * @regs:	Register values as seen when entering kernel mode
> - * @regoff:	Operand offset, in pt_regs, used to deterimine segment register
> + * @regoff:	Operand offset, in pt_regs, used to determine segment register
>  *
>  * Determine the segment register associated with the operands and, if
>  * applicable, prefixes and the instruction pointed by @insn.
> @@ -576,7 +576,7 @@ static int get_reg_offset_16(struct insn *insn, struct pt_regs *regs,
> 	 * If ModRM.mod is 0 and ModRM.rm is 110b, then we use displacement-
> 	 * only addressing. This means that no registers are involved in
> 	 * computing the effective address. Thus, ensure that the first
> -	 * register offset is invalild. The second register offset is already
> +	 * register offset is invalid. The second register offset is already
> 	 * invalid under the aforementioned conditions.
> 	 */
> 	if ((X86_MODRM_MOD(insn->modrm.value) == 0) &&
> --
> 2.31.0
>
>

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

end of thread, other threads:[~2021-03-21 20:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-21 20:02 [PATCH] x86/insn-eval: Few typo fixes Bhaskar Chowdhury
2021-03-21 20:06 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®