[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] linux-user: fix ppc/termbits.h
From: |
Laurent Vivier |
Subject: |
Re: [PATCH] linux-user: fix ppc/termbits.h |
Date: |
Sat, 5 Sep 2020 23:06:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] linux-user: fix ppc/termbits.h,
Laurent Vivier <=