]> Git Repo - qemu.git/commitdiff
target/mips: Style improvements in machine.c
authorAleksandar Markovic <[email protected]>
Mon, 19 Aug 2019 12:07:48 +0000 (14:07 +0200)
committerAleksandar Markovic <[email protected]>
Mon, 19 Aug 2019 17:53:37 +0000 (19:53 +0200)
Fixes mostly errors and warnings reported by 'checkpatch.pl -f'.

Signed-off-by: Aleksandar Markovic <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <1566216496[email protected]>

target/mips/machine.c

index 7f4b5d524dabf971be7b03399757f1db6a7a1b55..c1392395ab2bbe3ddd3b3787e3c907a096f6a40c 100644 (file)
@@ -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]);
     }
 
This page took 0.027687 seconds and 4 git commands to generate.