2024-03-17 06:02:01

by Xingyou Chen

[permalink] [raw]
Subject: [PATCH] riscv: typo in comment for get_f64_reg

Signed-off-by: Xingyou Chen <[email protected]>
---
arch/riscv/kernel/fpu.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/kernel/fpu.S b/arch/riscv/kernel/fpu.S
index 2c543f130f93..327cf527dd7e 100644
--- a/arch/riscv/kernel/fpu.S
+++ b/arch/riscv/kernel/fpu.S
@@ -211,7 +211,7 @@ SYM_FUNC_START(put_f64_reg)
SYM_FUNC_END(put_f64_reg)

/*
- * put_f64_reg - Get a 64 bits FP register value and returned it or store it to
+ * get_f64_reg - Get a 64 bits FP register value and returned it or store it to
* a pointer.
* a0 = FP register index to be retrieved
* a1 = If xlen == 32, pointer which should be loaded with the FP register value
--
2.43.0



2024-03-17 06:08:03

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] riscv: typo in comment for get_f64_reg



On 3/16/24 22:55, Xingyou Chen wrote:
> Signed-off-by: Xingyou Chen <[email protected]>

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

Thanks.

> ---
> arch/riscv/kernel/fpu.S | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/kernel/fpu.S b/arch/riscv/kernel/fpu.S
> index 2c543f130f93..327cf527dd7e 100644
> --- a/arch/riscv/kernel/fpu.S
> +++ b/arch/riscv/kernel/fpu.S
> @@ -211,7 +211,7 @@ SYM_FUNC_START(put_f64_reg)
> SYM_FUNC_END(put_f64_reg)
>
> /*
> - * put_f64_reg - Get a 64 bits FP register value and returned it or store it to
> + * get_f64_reg - Get a 64 bits FP register value and returned it or store it to
> * a pointer.
> * a0 = FP register index to be retrieved
> * a1 = If xlen == 32, pointer which should be loaded with the FP register value

--
#Randy