[PATCH] Documentation: x86: Fix a typo in fsgs.rst

Adrian Bütler posted 1 patch 7 months, 4 weeks ago
There is a newer version of this series
Documentation/arch/x86/x86_64/fsgs.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Documentation: x86: Fix a typo in fsgs.rst
Posted by Adrian Bütler 7 months, 4 weeks ago
Fix a spelling typo in fsgs.rst.
---
 Documentation/arch/x86/x86_64/fsgs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/arch/x86/x86_64/fsgs.rst b/Documentation/arch/x86/x86_64/fsgs.rst
index d07e445dac5c..6bda4d16d3f7 100644
--- a/Documentation/arch/x86/x86_64/fsgs.rst
+++ b/Documentation/arch/x86/x86_64/fsgs.rst
@@ -130,7 +130,7 @@ instructions. Clang 5 supports them as well.
 
   =================== ===========================
   _readfsbase_u64()   Read the FS base register
-  _readfsbase_u64()   Read the GS base register
+  _readgsbase_u64()   Read the GS base register
   _writefsbase_u64()  Write the FS base register
   _writegsbase_u64()  Write the GS base register
   =================== ===========================
-- 
2.34.1
[PATCH v2] Documentation: x86: Fix a typo in fsgs.rst
Posted by Adrian Bütler 7 months, 3 weeks ago
Fix a spelling typo in fsgs.rst.

Signed-off-by: Adrian Bütler <buetlera123@gmail.com>
---
v1->v2: added Signed-off-by
v1: https://lore.kernel.org/linux-doc/20250425135836.19081-1-buetlera123@gmail.com/T/#u

 Documentation/arch/x86/x86_64/fsgs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/arch/x86/x86_64/fsgs.rst b/Documentation/arch/x86/x86_64/fsgs.rst
index d07e445dac5c..6bda4d16d3f7 100644
--- a/Documentation/arch/x86/x86_64/fsgs.rst
+++ b/Documentation/arch/x86/x86_64/fsgs.rst
@@ -130,7 +130,7 @@ instructions. Clang 5 supports them as well.
 
   =================== ===========================
   _readfsbase_u64()   Read the FS base register
-  _readfsbase_u64()   Read the GS base register
+  _readgsbase_u64()   Read the GS base register
   _writefsbase_u64()  Write the FS base register
   _writegsbase_u64()  Write the GS base register
   =================== ===========================
-- 
2.34.1

Re: [PATCH v2] Documentation: x86: Fix a typo in fsgs.rst
Posted by Jonathan Corbet 7 months, 3 weeks ago
Adrian Bütler <buetlera123@gmail.com> writes:

> Fix a spelling typo in fsgs.rst.
>
> Signed-off-by: Adrian Bütler <buetlera123@gmail.com>
> ---
> v1->v2: added Signed-off-by
> v1: https://lore.kernel.org/linux-doc/20250425135836.19081-1-buetlera123@gmail.com/T/#u
>
>  Documentation/arch/x86/x86_64/fsgs.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/arch/x86/x86_64/fsgs.rst b/Documentation/arch/x86/x86_64/fsgs.rst
> index d07e445dac5c..6bda4d16d3f7 100644
> --- a/Documentation/arch/x86/x86_64/fsgs.rst
> +++ b/Documentation/arch/x86/x86_64/fsgs.rst
> @@ -130,7 +130,7 @@ instructions. Clang 5 supports them as well.
>  
>    =================== ===========================
>    _readfsbase_u64()   Read the FS base register
> -  _readfsbase_u64()   Read the GS base register
> +  _readgsbase_u64()   Read the GS base register
>    _writefsbase_u64()  Write the FS base register

Applied, thanks.

jon