qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for 4.2 v5 10/12] target/mips: Style improvement


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH for 4.2 v5 10/12] target/mips: Style improvements in machine.c
Date: Fri, 2 Aug 2019 18:10:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 8/1/19 6:45 PM, Aleksandar Markovic wrote:
> From: Aleksandar Markovic <address@hidden>
> 
> Fixes mostly errors and warings reported by 'checkpatch.pl -f'.

"warnings"

> 
> Signed-off-by: Aleksandar Markovic <address@hidden>

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

> ---
>  target/mips/machine.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/target/mips/machine.c b/target/mips/machine.c
> index e23b767..06887d8 100644
> --- a/target/mips/machine.c
> +++ b/target/mips/machine.c
> @@ -25,7 +25,7 @@ static int get_fpr(QEMUFile *f, void *pv, size_t size,
>      int i;
>      fpr_t *v = pv;
>      /* Restore entire MSA vector register */
> -    for (i = 0; i < MSA_WRLEN/64; i++) {
> +    for (i = 0; i < MSA_WRLEN / 64; i++) {
>          qemu_get_sbe64s(f, &v->wr.d[i]);
>      }
>      return 0;
> @@ -37,7 +37,7 @@ static int put_fpr(QEMUFile *f, void *pv, size_t size,
>      int i;
>      fpr_t *v = pv;
>      /* Save entire MSA vector register */
> -    for (i = 0; i < MSA_WRLEN/64; i++) {
> +    for (i = 0; i < MSA_WRLEN / 64; i++) {
>          qemu_put_sbe64s(f, &v->wr.d[i]);
>      }
>  
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]