[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for 4.2 v6 13/22] target/mips: Style improvements in
From: |
Aleksandar Markovic |
Subject: |
[Qemu-devel] [PATCH for 4.2 v6 13/22] target/mips: Style improvements in mips_int.c |
Date: |
Mon, 5 Aug 2019 12:09:11 +0200 |
From: Aleksandar Markovic <address@hidden>
Fixes mostly errors and warnings reported by 'checkpatch.pl -f'.
Signed-off-by: Aleksandar Markovic <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 f899f6c..4c731ab 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] [PATCH for 4.2 v6 00/22] target/mips: Misc patches for 4.2, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 05/22] target/mips: Add support for emulation of CRC32 group of instructions, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 10/22] target/mips: Style improvements in machine.c, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 15/22] target/mips: Style improvements in mips_mipssim.c, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 03/22] target/mips: Amend CP0 MemoryMapID register implementation, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 01/22] target/mips: Add support for DSPRAM, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 12/22] target/mips: Style improvements in mips_fulong2e.c, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 13/22] target/mips: Style improvements in mips_int.c,
Aleksandar Markovic <=
- [Qemu-devel] [PATCH for 4.2 v6 07/22] target/mips: Style improvements in cpu.c, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 09/22] target/mips: Style improvements in internal.h, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 06/22] target/mips: Style improvements in cp0_timer.c, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 04/22] target/mips: Add support for emulation of GINVT instruction, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 02/22] target/mips: Amend CP0 WatchHi register implementation, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 11/22] target/mips: Style improvements in cps.c, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 18/22] target/mips: Clean up handling of CP0 register 26, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 21/22] target/mips: tests/tcg: Add optional printing of more detailed failure info, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 19/22] target/mips: Clean up handling of CP0 register 30, Aleksandar Markovic, 2019/08/05
- [Qemu-devel] [PATCH for 4.2 v6 08/22] target/mips: Style improvements in helper.c, Aleksandar Markovic, 2019/08/05