2021-02-10 08:51:34

by Bhaskar Chowdhury

[permalink] [raw]
Subject: [PATCH] arch: x86: entry: vdso: Fix the spelling postive to positive in the file vsgx.S



s/postive/positive/

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
arch/x86/entry/vdso/vsgx.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/entry/vdso/vsgx.S b/arch/x86/entry/vdso/vsgx.S
index 86a0e94f68df..99dafac992e2 100644
--- a/arch/x86/entry/vdso/vsgx.S
+++ b/arch/x86/entry/vdso/vsgx.S
@@ -137,7 +137,7 @@ SYM_FUNC_START(__vdso_sgx_enter_enclave)

/*
* If the return from callback is zero or negative, return immediately,
- * else re-execute ENCLU with the postive return value interpreted as
+ * else re-execute ENCLU with the positive return value interpreted as
* the requested ENCLU function.
*/
cmp $0, %eax
--
2.30.0


2021-02-10 16:17:53

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] arch: x86: entry: vdso: Fix the spelling postive to positive in the file vsgx.S

On 2/10/21 12:46 AM, Bhaskar Chowdhury wrote:
>
>
> s/postive/positive/
>
> Signed-off-by: Bhaskar Chowdhury <[email protected]>

Acked-by: Randy Dunlap <[email protected]>

> ---
> arch/x86/entry/vdso/vsgx.S | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/entry/vdso/vsgx.S b/arch/x86/entry/vdso/vsgx.S
> index 86a0e94f68df..99dafac992e2 100644
> --- a/arch/x86/entry/vdso/vsgx.S
> +++ b/arch/x86/entry/vdso/vsgx.S
> @@ -137,7 +137,7 @@ SYM_FUNC_START(__vdso_sgx_enter_enclave)
>
> /*
> * If the return from callback is zero or negative, return immediately,
> - * else re-execute ENCLU with the postive return value interpreted as
> + * else re-execute ENCLU with the positive return value interpreted as
> * the requested ENCLU function.
> */
> cmp $0, %eax
> --


--
~Randy

2021-02-12 12:11:23

by Jarkko Sakkinen

[permalink] [raw]
Subject: Re: [PATCH] arch: x86: entry: vdso: Fix the spelling postive to positive in the file vsgx.S

On Wed, Feb 10, 2021 at 02:16:10PM +0530, Bhaskar Chowdhury wrote:
>
>
> s/postive/positive/

A bit more verbose, please, e.g.:

"Fix spelling error in arch/x86/entry/vdso/vsgx.S: postive -> positive."

> Signed-off-by: Bhaskar Chowdhury <[email protected]>
> ---
> arch/x86/entry/vdso/vsgx.S | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/entry/vdso/vsgx.S b/arch/x86/entry/vdso/vsgx.S
> index 86a0e94f68df..99dafac992e2 100644
> --- a/arch/x86/entry/vdso/vsgx.S
> +++ b/arch/x86/entry/vdso/vsgx.S
> @@ -137,7 +137,7 @@ SYM_FUNC_START(__vdso_sgx_enter_enclave)
>
> /*
> * If the return from callback is zero or negative, return immediately,
> - * else re-execute ENCLU with the postive return value interpreted as
> + * else re-execute ENCLU with the positive return value interpreted as
> * the requested ENCLU function.
> */
> cmp $0, %eax
> --
> 2.30.0
>
>



Acked-by: Jarkko Sakkinen <[email protected]>

/Jarkko