[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 07/11] target/mips: Style improvements in mips_int.c
From: |
Aleksandar Markovic |
Subject: |
[Qemu-devel] [PULL 07/11] target/mips: Style improvements in mips_int.c |
Date: |
Tue, 20 Aug 2019 08:37:59 +0200 |
From: Aleksandar Markovic <address@hidden>
Fixes mostly errors and warnings reported by 'checkpatch.pl -f'.
Signed-off-by: Aleksandar Markovic <address@hidden>
Reviewed-by: Aleksandar Rikalo <address@hidden>
Message-Id: <address@hidden>
---
hw/mips/mips_int.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/mips/mips_int.c b/hw/mips/mips_int.c
index 74cf587..5ebc961 100644
--- a/hw/mips/mips_int.c
+++ b/hw/mips/mips_int.c
@@ -35,8 +35,9 @@ static void cpu_mips_irq_request(void *opaque, int irq, int
level)
CPUState *cs = CPU(cpu);
bool locked = false;
- if (irq < 0 || irq > 7)
+ if (irq < 0 || irq > 7) {
return;
+ }
/* Make sure locking works even if BQL is already held by the caller */
if (!qemu_mutex_iothread_locked()) {
--
2.7.4
- [Qemu-devel] [PULL 00/11] MIPS queue for August 20th, 2019, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 03/11] target/mips: Style improvements in machine.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 01/11] target/mips: Style improvements in cp0_timer.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 05/11] target/mips: Style improvements in cps.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 02/11] target/mips: Style improvements in cpu.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 09/11] target/mips: Style improvements in mips_mipssim.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 10/11] target/mips: tests/tcg: Add optional printing of more detailed failure info, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 08/11] target/mips: Style improvements in mips_malta.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 07/11] target/mips: Style improvements in mips_int.c,
Aleksandar Markovic <=
- [Qemu-devel] [PULL 06/11] target/mips: Style improvements in mips_fulong2e.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 04/11] target/mips: Style improvements in translate.c, Aleksandar Markovic, 2019/08/20
- [Qemu-devel] [PULL 11/11] target/mips: tests/tcg: Fix target configurations for MSA tests, Aleksandar Markovic, 2019/08/20
- Re: [Qemu-devel] [PULL 00/11] MIPS queue for August 20th, 2019, Peter Maydell, 2019/08/20