[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 03/11] target/mips: Style improvements in machine.c
From: |
Aleksandar Markovic |
Subject: |
[Qemu-devel] [PULL 03/11] target/mips: Style improvements in machine.c |
Date: |
Tue, 20 Aug 2019 08:37:55 +0200 |
From: Aleksandar Markovic <address@hidden>
Fixes mostly errors and warnings reported by 'checkpatch.pl -f'.
Signed-off-by: Aleksandar Markovic <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <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 7f4b5d5..c139239 100644
--- a/target/mips/machine.c
+++ b/target/mips/machine.c
@@ -24,7 +24,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;
@@ -36,7 +36,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]);
}
--
2.7.4
- [Qemu-devel] [PULL 00/11] MIPS queue for August 20th, 2019, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 03/11] target/mips: Style improvements in machine.c,
Aleksandar Markovic <=
- [Qemu-devel] [PULL 01/11] target/mips: Style improvements in cp0_timer.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 05/11] target/mips: Style improvements in cps.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 02/11] target/mips: Style improvements in cpu.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 09/11] target/mips: Style improvements in mips_mipssim.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 10/11] target/mips: tests/tcg: Add optional printing of more detailed failure info, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 08/11] target/mips: Style improvements in mips_malta.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 07/11] target/mips: Style improvements in mips_int.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 06/11] target/mips: Style improvements in mips_fulong2e.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 04/11] target/mips: Style improvements in translate.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 11/11] target/mips: tests/tcg: Fix target configurations for MSA tests, Aleksandar Markovic, 2019/08/20