Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 04:43:48 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a2384525c961 - stable/12 - linux(4): Fix two typos in source code comments
Message-ID:  <202308050443.3754hmum060069@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe:

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

commit a2384525c961305e84d719f73c425163f77a632f
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-08-02 09:55:30 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-08-05 04:43:16 +0000

    linux(4): Fix two typos in source code comments
    
    - s/decriptors/descriptors/
    
    (cherry picked from commit 29eab3e4e0c9a6e954b0ee858e3d4c2a9f283ea4)
---
 sys/amd64/linux32/linux32_machdep.c | 2 +-
 sys/i386/linux/linux_machdep.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/amd64/linux32/linux32_machdep.c b/sys/amd64/linux32/linux32_machdep.c
index 42d9146c6df1..712d0156d561 100644
--- a/sys/amd64/linux32/linux32_machdep.c
+++ b/sys/amd64/linux32/linux32_machdep.c
@@ -682,7 +682,7 @@ linux_set_thread_area(struct thread *td,
 	/*
 	 * Semantics of Linux version: every thread in the system has array
 	 * of three TLS descriptors. 1st is GLIBC TLS, 2nd is WINE, 3rd unknown.
-	 * This syscall loads one of the selected TLS decriptors with a value
+	 * This syscall loads one of the selected TLS descriptors with a value
 	 * and also loads GDT descriptors 6, 7 and 8 with the content of
 	 * the per-thread descriptors.
 	 *
diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c
index ce177e78dc18..aa9fa4dbf0a9 100644
--- a/sys/i386/linux/linux_machdep.c
+++ b/sys/i386/linux/linux_machdep.c
@@ -579,7 +579,7 @@ linux_set_thread_area(struct thread *td, struct linux_set_thread_area_args *args
 	/*
 	 * Semantics of Linux version: every thread in the system has array of
 	 * 3 tls descriptors. 1st is GLIBC TLS, 2nd is WINE, 3rd unknown. This
-	 * syscall loads one of the selected tls decriptors with a value and
+	 * syscall loads one of the selected tls descriptors with a value and
 	 * also loads GDT descriptors 6, 7 and 8 with the content of the
 	 * per-thread descriptors.
 	 *



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