diff mbox series

riscv: vector: Fix a typo of preempt_v

Message ID 20240206044217.1283849-1-songshuaishuai@tinylab.org (mailing list archive)
State Superseded
Headers show
Series riscv: vector: Fix a typo of preempt_v | expand

Checks

Context Check Description
conchuod/vmtest-for-next-PR success PR summary
conchuod/patch-1-test-1 success .github/scripts/patches/tests/build_rv32_defconfig.sh
conchuod/patch-1-test-2 success .github/scripts/patches/tests/build_rv64_clang_allmodconfig.sh
conchuod/patch-1-test-3 success .github/scripts/patches/tests/build_rv64_gcc_allmodconfig.sh
conchuod/patch-1-test-4 success .github/scripts/patches/tests/build_rv64_nommu_k210_defconfig.sh
conchuod/patch-1-test-5 success .github/scripts/patches/tests/build_rv64_nommu_virt_defconfig.sh
conchuod/patch-1-test-6 success .github/scripts/patches/tests/checkpatch.sh
conchuod/patch-1-test-7 success .github/scripts/patches/tests/dtb_warn_rv64.sh
conchuod/patch-1-test-8 success .github/scripts/patches/tests/header_inline.sh
conchuod/patch-1-test-9 success .github/scripts/patches/tests/kdoc.sh
conchuod/patch-1-test-10 success .github/scripts/patches/tests/module_param.sh
conchuod/patch-1-test-11 success .github/scripts/patches/tests/verify_fixes.sh
conchuod/patch-1-test-12 success .github/scripts/patches/tests/verify_signedoff.sh

Commit Message

Song Shuai Feb. 6, 2024, 4:42 a.m. UTC
The term "preempt_v" represents the RISCV_PREEMPT_V field of riscv_v_flags
and is used in lots of comments.

Here corrects the miss-spelling "prempt_v".

Signed-off-by: Song Shuai <songshuaishuai@tinylab.org>
---
 arch/riscv/include/asm/simd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andy Chiu Feb. 12, 2024, 2:13 a.m. UTC | #1
On Tue, Feb 6, 2024 at 12:42 PM Song Shuai <songshuaishuai@tinylab.org> wrote:
>
> The term "preempt_v" represents the RISCV_PREEMPT_V field of riscv_v_flags
> and is used in lots of comments.
>
> Here corrects the miss-spelling "prempt_v".
>
> Signed-off-by: Song Shuai <songshuaishuai@tinylab.org>
> ---
>  arch/riscv/include/asm/simd.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/include/asm/simd.h b/arch/riscv/include/asm/simd.h
> index 54efbf523d49..04baee713eff 100644
> --- a/arch/riscv/include/asm/simd.h
> +++ b/arch/riscv/include/asm/simd.h
> @@ -36,7 +36,7 @@ static __must_check inline bool may_use_simd(void)
>         /*
>          * Nesting is acheived in preempt_v by spreading the control for
>          * preemptible and non-preemptible kernel-mode Vector into two fields.
> -        * Always try to match with prempt_v if kernel V-context exists. Then,
> +        * Always try to match with preempt_v if kernel V-context exists. Then,
>          * fallback to check non preempt_v if nesting happens, or if the config
>          * is not set.
>          */
> --
> 2.39.2
>

Please also do this:

s/acheived/achieved

With that,

Reviewed-by: Andy Chiu <andybnac@gmail.com>

Thanks!
Andy
diff mbox series

Patch

diff --git a/arch/riscv/include/asm/simd.h b/arch/riscv/include/asm/simd.h
index 54efbf523d49..04baee713eff 100644
--- a/arch/riscv/include/asm/simd.h
+++ b/arch/riscv/include/asm/simd.h
@@ -36,7 +36,7 @@  static __must_check inline bool may_use_simd(void)
 	/*
 	 * Nesting is acheived in preempt_v by spreading the control for
 	 * preemptible and non-preemptible kernel-mode Vector into two fields.
-	 * Always try to match with prempt_v if kernel V-context exists. Then,
+	 * Always try to match with preempt_v if kernel V-context exists. Then,
 	 * fallback to check non preempt_v if nesting happens, or if the config
 	 * is not set.
 	 */