qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] linux-user: fix ppc/termbits.h
@ 2020-08-30 18:16 Laurent Vivier
  2020-09-05 21:06 ` Laurent Vivier
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Vivier @ 2020-08-30 18:16 UTC (permalink / raw)
  To: qemu-devel; +Cc: Laurent Vivier, Filip.Bozuta

On ppc, in termios, c_line is after c_cc, not before .

Fixes: c218b4ede4f9 ("linux-user: Add missing termbits types and values definitions")
Cc: Filip.Bozuta@syrmia.com
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 linux-user/ppc/termbits.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux-user/ppc/termbits.h b/linux-user/ppc/termbits.h
index 7066d1e5523d..eb226e099980 100644
--- a/linux-user/ppc/termbits.h
+++ b/linux-user/ppc/termbits.h
@@ -14,8 +14,8 @@ struct target_termios {
     target_tcflag_t c_oflag;               /* output mode flags */
     target_tcflag_t c_cflag;               /* control mode flags */
     target_tcflag_t c_lflag;               /* local mode flags */
-    target_cc_t c_line;                    /* line discipline */
     target_cc_t c_cc[TARGET_NCCS];         /* control characters */
+    target_cc_t c_line;                    /* line discipline */
     target_speed_t c_ispeed;               /* input speed */
     target_speed_t c_ospeed;               /* output speed */
 };
-- 
2.26.2



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

* Re: [PATCH] linux-user: fix ppc/termbits.h
  2020-08-30 18:16 [PATCH] linux-user: fix ppc/termbits.h Laurent Vivier
@ 2020-09-05 21:06 ` Laurent Vivier
  0 siblings, 0 replies; 2+ messages in thread
From: Laurent Vivier @ 2020-09-05 21:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: Filip.Bozuta

Le 30/08/2020 à 20:16, Laurent Vivier a écrit :
> On ppc, in termios, c_line is after c_cc, not before .
> 
> Fixes: c218b4ede4f9 ("linux-user: Add missing termbits types and values definitions")
> Cc: Filip.Bozuta@syrmia.com
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> ---
>  linux-user/ppc/termbits.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/linux-user/ppc/termbits.h b/linux-user/ppc/termbits.h
> index 7066d1e5523d..eb226e099980 100644
> --- a/linux-user/ppc/termbits.h
> +++ b/linux-user/ppc/termbits.h
> @@ -14,8 +14,8 @@ struct target_termios {
>      target_tcflag_t c_oflag;               /* output mode flags */
>      target_tcflag_t c_cflag;               /* control mode flags */
>      target_tcflag_t c_lflag;               /* local mode flags */
> -    target_cc_t c_line;                    /* line discipline */
>      target_cc_t c_cc[TARGET_NCCS];         /* control characters */
> +    target_cc_t c_line;                    /* line discipline */
>      target_speed_t c_ispeed;               /* input speed */
>      target_speed_t c_ospeed;               /* output speed */
>  };
> 


Applied to my linux-user-for-5.2 branch.

Thanks,
Laurent


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

end of thread, other threads:[~2020-09-05 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-30 18:16 [PATCH] linux-user: fix ppc/termbits.h Laurent Vivier
2020-09-05 21:06 ` Laurent Vivier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).