From: Bibo Mao Date: Wed, 18 Jun 2025 02:30:55 +0000 (+0800) Subject: target/loongarch: Correct spelling in helper_csrwr_pwcl() X-Git-Tag: v10.1.0-rc0~28^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e5de64ae0233a13f5a623a62aec0b95d66ab7ce6;p=thirdparty%2Fqemu.git target/loongarch: Correct spelling in helper_csrwr_pwcl() There is small typo issue in function helper_csrwr_pwcl(), this patch corrects this issue. Signed-off-by: Bibo Mao Reviewed-by: Song Gao --- diff --git a/target/loongarch/tcg/csr_helper.c b/target/loongarch/tcg/csr_helper.c index 2942d7feb8..46d331ce8a 100644 --- a/target/loongarch/tcg/csr_helper.c +++ b/target/loongarch/tcg/csr_helper.c @@ -131,8 +131,8 @@ target_ulong helper_csrwr_pwcl(CPULoongArchState *env, target_ulong val) } if (!check_ps(env, ptbase)) { qemu_log_mask(LOG_GUEST_ERROR, - "Attrmpted set ptbase 2^%d\n", ptbase); + "Attempted set ptbase 2^%d\n", ptbase); } - env->CSR_PWCL =val; + env->CSR_PWCL = val; return old_v; }