Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2023 13:27:28 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 05187f2ffc79 - main - amd64: Fix a common typo in source code comments
Message-ID:  <202301191327.30JDRSL3040467@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=05187f2ffc79e5959762ab8ce7067b7b8a1cdfd9

commit 05187f2ffc79e5959762ab8ce7067b7b8a1cdfd9
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-01-19 13:27:18 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-01-19 13:27:18 +0000

    amd64: Fix a common typo in source code comments
    
    - s/comparision/comparison/
    
    MFC after:      3 days
---
 sys/amd64/amd64/support.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
index 223a9cc7f444..d8958cda430a 100644
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -922,7 +922,7 @@ copy_fault:
 
 /*
  * casueword32.  Compare and set user integer.  Returns -1 on fault,
- *        0 if access was successful, and 1 when comparision failed.
+ *        0 if access was successful, and 1 when comparison failed.
  *        Old value is written to *oldp.
  *        dst = %rdi, old = %esi, oldp = %rdx, new = %ecx
  */
@@ -1002,7 +1002,7 @@ END(casueword32_smap)
 
 /*
  * casueword.  Compare and set user long.  Returns -1 on fault,
- *        0 if access was successful, and 1 when comparision failed.
+ *        0 if access was successful, and 1 when comparison failed.
  *        Old value is written to *oldp.
  *        dst = %rdi, old = %rsi, oldp = %rdx, new = %rcx
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301191327.30JDRSL3040467>