All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] linux-user: Fix comment typo in arm cpu_loop code
@ 2022-01-14 18:25 Peter Maydell
  2022-01-14 20:53 ` Warner Losh
  2022-01-18 11:38 ` Laurent Vivier
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Maydell @ 2022-01-14 18:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: Richard Henderson, Laurent Vivier, Warner Losh

Fix a typo in a comment in the arm cpu_loop code.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 linux-user/arm/cpu_loop.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/linux-user/arm/cpu_loop.c b/linux-user/arm/cpu_loop.c
index f153ab503a8..032e1ffddfb 100644
--- a/linux-user/arm/cpu_loop.c
+++ b/linux-user/arm/cpu_loop.c
@@ -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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] linux-user: Fix comment typo in arm cpu_loop code
  2022-01-14 18:25 [PATCH] linux-user: Fix comment typo in arm cpu_loop code Peter Maydell
@ 2022-01-14 20:53 ` Warner Losh
  2022-01-18 11:38 ` Laurent Vivier
  1 sibling, 0 replies; 3+ messages in thread
From: Warner Losh @ 2022-01-14 20:53 UTC (permalink / raw)
  To: Peter Maydell; +Cc: Richard Henderson, QEMU Developers, Laurent Vivier

[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]

On Fri, Jan 14, 2022 at 11:25 AM Peter Maydell <peter.maydell@linaro.org>
wrote:

> Fix a typo in a comment in the arm cpu_loop code.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>  linux-user/arm/cpu_loop.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Warner Losh <imp@bsdimp.com>


> diff --git a/linux-user/arm/cpu_loop.c b/linux-user/arm/cpu_loop.c
> index f153ab503a8..032e1ffddfb 100644
> --- a/linux-user/arm/cpu_loop.c
> +++ b/linux-user/arm/cpu_loop.c
> @@ -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
>
>

[-- Attachment #2: Type: text/html, Size: 1831 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] linux-user: Fix comment typo in arm cpu_loop code
  2022-01-14 18:25 [PATCH] linux-user: Fix comment typo in arm cpu_loop code Peter Maydell
  2022-01-14 20:53 ` Warner Losh
@ 2022-01-18 11:38 ` Laurent Vivier
  1 sibling, 0 replies; 3+ messages in thread
From: Laurent Vivier @ 2022-01-18 11:38 UTC (permalink / raw)
  To: Peter Maydell, qemu-devel; +Cc: qemu-trivial, Richard Henderson, Warner Losh

Le 14/01/2022 à 19:25, Peter Maydell a écrit :
> Fix a typo in a comment in the arm cpu_loop code.
> 
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>   linux-user/arm/cpu_loop.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/linux-user/arm/cpu_loop.c b/linux-user/arm/cpu_loop.c
> index f153ab503a8..032e1ffddfb 100644
> --- a/linux-user/arm/cpu_loop.c
> +++ b/linux-user/arm/cpu_loop.c
> @@ -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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-18 11:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 18:25 [PATCH] linux-user: Fix comment typo in arm cpu_loop code Peter Maydell
2022-01-14 20:53 ` Warner Losh
2022-01-18 11:38 ` Laurent Vivier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.