linux-user: Fix comment typo in arm cpu_loop code
PATCH 1/1 linux-user: Fix comment typo in arm cpu_loop code
Fix a typo in a comment in the arm cpu_loop code.
Signed-off-by Peter Maydell <[email protected]>
--- linux-user/arm/cpu_loop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
linux-user/arm/cpu_loop.c +2 -2
@@ -434,8 +434,8 @@ void cpu_loop(CPUARMState *env)case 0x6 :/* Access flag fault, level 2 */ case 0x9 :/* Domain fault, level 1 */ case 0xb :/* Domain fault, level 2 */ -case 0xd :/* Permision fault, level 1 */ -case 0xf :/* Permision fault, level 2 */ +case 0xd :/* Permission fault, level 1 */ +case 0xf :/* Permission fault, level 2 */ si_signo =TARGET_SIGSEGV ; si_code =TARGET_SEGV_ACCERR ;break ;
Signature · 1 line
2.25.1
Quoted 7 lines · Peter Maydell
Fix a typo in a comment in the arm
cpu_loopcode.Signed-off-by Peter Maydell <[email protected]>--- linux-user/arm/cpu_loop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Warner Losh <[email protected]>
Quoted 19 lines
linux-user/arm/cpu_loop.c +2
-3@@ -434,8 +434,8 @@ void cpu_loop(CPUARMState *env)case 0x6 :/* Access flag fault, level 2 */ case 0x9 :/* Domain fault, level 1 */ case 0xb :/* Domain fault, level 2 */ -case 0xd :/* Permision fault, level 1 */ -case 0xf :/* Permision fault, level 2 */ +case 0xd :/* Permission fault, level 1 */ +case 0xf :/* Permission fault, level 2 */ si_signo =TARGET_SIGSEGV ; si_code =TARGET_SEGV_ACCERR ;break ; --2.25.1
Laurent Vivier
AppliedLe 14/01/2022 à 19:25, Peter Maydell a écrit :
Quoted 12 lines
Fix a typo in a comment in the arm
cpu_loopcode.Signed-off-by Peter Maydell <[email protected]>--- linux-user/arm/cpu_loop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)linux-user/arm/cpu_loop.c +0
-0
linux-user/arm/cpu_loop.c void cpu_loop(CPUARMState *env) · line 441
Quoted 10 lines
linux-user/arm/cpu_loop.c +2
-2@@ -434,8 +434,8 @@ void cpu_loop(CPUARMState *env)case 0x6 :/* Access flag fault, level 2 */ case 0x9 :/* Domain fault, level 1 */ case 0xb :/* Domain fault, level 2 */ -case 0xd :/* Permision fault, level 1 */ -case 0xf :/* Permision fault, level 2 */ +case 0xd :/* Permission fault, level 1 */ +case 0xf :/* Permission fault, level 2 */ si_signo =TARGET_SIGSEGV ; si_code =TARGET_SEGV_ACCERR ;break ;
Applied to my trivial-patches branch.
Thanks,
Laurent