summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAleksandar Markovic2019-08-19 14:07:48 +0200
committerAleksandar Markovic2019-08-19 19:53:37 +0200
commiteca3cbb84761d25225c90da04a77924130a47f53 (patch)
tree4b826273196a25f63ced0b0f23284762bab0388a /target
parenttarget/mips: Style improvements in cpu.c (diff)
downloadqemu-eca3cbb84761d25225c90da04a77924130a47f53.tar.gz
qemu-eca3cbb84761d25225c90da04a77924130a47f53.tar.xz
qemu-eca3cbb84761d25225c90da04a77924130a47f53.zip
target/mips: Style improvements in machine.c
Fixes mostly errors and warnings reported by 'checkpatch.pl -f'. Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <1566216496-17375-10-git-send-email-aleksandar.markovic@rt-rk.com>
Diffstat (limited to 'target')
-rw-r--r--target/mips/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/mips/machine.c b/target/mips/machine.c
index 7f4b5d524d..c1392395ab 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]);
}