Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 04:41:11 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: 4b5826ca9dc5 - stable/13 - linux(4): Fix two typos in source code comments
Message-ID:  <202308050441.3754fBRE056860@gitrepo.freebsd.org>

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

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

commit 4b5826ca9dc56e64e01b7be976d3c330020599ed
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:39:53 +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 23d8f8767282..992b4ec72af0 100644
--- a/sys/amd64/linux32/linux32_machdep.c
+++ b/sys/amd64/linux32/linux32_machdep.c
@@ -625,7 +625,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 daae6a9f711b..1b1854cb0d40 100644
--- a/sys/i386/linux/linux_machdep.c
+++ b/sys/i386/linux/linux_machdep.c
@@ -519,7 +519,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?202308050441.3754fBRE056860>