mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
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>
This commit is contained in:
parent
cf02a11648
commit
eca3cbb847
1 changed files with 2 additions and 2 deletions
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue