[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]);
> }
>
>
- [Qemu-devel] [PATCH for 4.2 v5 00/12] target/mips: Misc patches for 4.2, Aleksandar Markovic, 2019/08/01
- [Qemu-devel] [PATCH for 4.2 v5 01/12] target/mips: Add support for DSPRAM, Aleksandar Markovic, 2019/08/01
- [Qemu-devel] [PATCH for 4.2 v5 02/12] target/mips: Amend CP0 WatchHi register implementation, Aleksandar Markovic, 2019/08/01
- [Qemu-devel] [PATCH for 4.2 v5 03/12] target/mips: Update vmstate structures related to MemoryMapID register, Aleksandar Markovic, 2019/08/01
- [Qemu-devel] [PATCH for 4.2 v5 04/12] target/mips: Add support for emulation of GINVT instruction, Aleksandar Markovic, 2019/08/01
- [Qemu-devel] [PATCH for 4.2 v5 05/12] target/mips: Add support for emulation of CRC32 group of instructions, Aleksandar Markovic, 2019/08/01
- [Qemu-devel] [PATCH for 4.2 v5 09/12] target/mips: Style improvements in internal.h, Aleksandar Markovic, 2019/08/01
- [Qemu-devel] [PATCH for 4.2 v5 10/12] target/mips: Style improvements in machine.c, Aleksandar Markovic, 2019/08/01
- Re: [Qemu-devel] [PATCH for 4.2 v5 10/12] target/mips: Style improvements in machine.c,
Philippe Mathieu-Daudé <=
- [Qemu-devel] [PATCH for 4.2 v5 08/12] target/mips: Style improvements in helper.c, Aleksandar Markovic, 2019/08/01
- [Qemu-devel] [PATCH for 4.2 v5 06/12] target/mips: Style improvements in cp0_timer.c, Aleksandar Markovic, 2019/08/01
- [Qemu-devel] [PATCH for 4.2 v5 07/12] target/mips: Style improvements in cpu.c, Aleksandar Markovic, 2019/08/01
- [Qemu-devel] [PATCH for 4.2 v5 11/12] tests/tcg: target/mips: Add optional printing of more detailed failure info, Aleksandar Markovic, 2019/08/01
- [Qemu-devel] [PATCH for 4.2 v5 12/12] tests/tcg: target/mips: Fix target configurations for MSA tests, Aleksandar Markovic, 2019/08/01