aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2022-09-20 01:17:15 +0200
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-09-20 12:31:53 -0300
commit6b5cf264ee76d24b357a60b69b0635a533c1f647 (patch)
tree6e65ebcf116363785ebddba18372dfe60ab93d9d
parent90865af7d901a2aa5eeadfb488f3a9d4aaf70605 (diff)
downloadqemu-6b5cf264ee76d24b357a60b69b0635a533c1f647.zip
qemu-6b5cf264ee76d24b357a60b69b0635a533c1f647.tar.gz
qemu-6b5cf264ee76d24b357a60b69b0635a533c1f647.tar.bz2
hw/ppc/spapr: Fix code style problems reported by checkpatch
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Signed-off-by: Bernhard Beschow <shentey@gmail.com> Message-Id: <20220919231720.163121-5-shentey@gmail.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
-rw-r--r--include/hw/ppc/spapr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h
index 530d739..04a9566 100644
--- a/include/hw/ppc/spapr.h
+++ b/include/hw/ppc/spapr.h
@@ -848,7 +848,8 @@ static inline uint64_t ppc64_phys_to_real(uint64_t addr)
static inline uint32_t rtas_ld(target_ulong phys, int n)
{
- return ldl_be_phys(&address_space_memory, ppc64_phys_to_real(phys + 4*n));
+ return ldl_be_phys(&address_space_memory,
+ ppc64_phys_to_real(phys + 4 * n));
}
static inline uint64_t rtas_ldq(target_ulong phys, int n)
@@ -858,7 +859,7 @@ static inline uint64_t rtas_ldq(target_ulong phys, int n)
static inline void rtas_st(target_ulong phys, int n, uint32_t val)
{
- stl_be_phys(&address_space_memory, ppc64_phys_to_real(phys + 4*n), val);
+ stl_be_phys(&address_space_memory, ppc64_phys_to_real(phys + 4 * n), val);
}
typedef void (*spapr_rtas_fn)(PowerPCCPU *cpu, SpaprMachineState *sm,