Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2023 09:55:39 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: 29eab3e4e0c9 - main - linux(4): Fix two typos in source code comments
Message-ID:  <202308020955.3729tdga090140@gitrepo.freebsd.org>

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

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

commit 29eab3e4e0c9a6e954b0ee858e3d4c2a9f283ea4
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-08-02 09:55:30 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-08-02 09:55:30 +0000

    linux(4): Fix two typos in source code comments
    
    - s/decriptors/descriptors/
    
    MFC after:      3 days
---
 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 bcbf51082c64..29b3b99bc483 100644
--- a/sys/amd64/linux32/linux32_machdep.c
+++ b/sys/amd64/linux32/linux32_machdep.c
@@ -603,7 +603,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 92b37646d28d..08124202c90a 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?202308020955.3729tdga090140>