[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for 4.2 v5 10/12] target/mips: Style improvements in
From: |
Aleksandar Markovic |
Subject: |
[Qemu-devel] [PATCH for 4.2 v5 10/12] target/mips: Style improvements in machine.c |
Date: |
Thu, 1 Aug 2019 18:45:21 +0200 |
From: Aleksandar Markovic <address@hidden>
Fixes mostly errors and warings reported by 'checkpatch.pl -f'.
Signed-off-by: Aleksandar Markovic <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]);
}
--
2.7.4
- [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 <=
- [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