[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 12/20] hw/misc/stm32f4xx_syscfg: Fix copy/paste error
From: |
Peter Maydell |
Subject: |
[PULL 12/20] hw/misc/stm32f4xx_syscfg: Fix copy/paste error |
Date: |
Thu, 23 Jan 2020 15:30:33 +0000 |
From: Philippe Mathieu-Daudé <address@hidden>
Missed in 870c034da0b, hopefully reported by Coverity.
Fixes: Coverity CID 1412793 (Incorrect expression)
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
---
hw/misc/stm32f4xx_syscfg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/misc/stm32f4xx_syscfg.c b/hw/misc/stm32f4xx_syscfg.c
index dbcdca59f8e..f960e4ea1ee 100644
--- a/hw/misc/stm32f4xx_syscfg.c
+++ b/hw/misc/stm32f4xx_syscfg.c
@@ -47,7 +47,7 @@ static void stm32f4xx_syscfg_set_irq(void *opaque, int irq,
int level)
STM32F4xxSyscfgState *s = opaque;
int icrreg = irq / 4;
int startbit = (irq & 3) * 4;
- uint8_t config = config = irq / 16;
+ uint8_t config = irq / 16;
trace_stm32f4xx_syscfg_set_irq(irq / 16, irq % 16, level);
--
2.20.1
- [PULL 00/20] target-arm queue, Peter Maydell, 2020/01/23
- [PULL 01/20] target/arm: add PMU feature to cortex-r5 and cortex-r5f, Peter Maydell, 2020/01/23
- [PULL 04/20] tests/tcg/aarch64: Add pauth-3, Peter Maydell, 2020/01/23
- [PULL 05/20] tests/tcg/aarch64: Add pauth-4, Peter Maydell, 2020/01/23
- [PULL 07/20] hw/arm: Use helper function to trigger hotplug handler plug, Peter Maydell, 2020/01/23
- [PULL 03/20] tests/tcg/aarch64: Fix compilation parameters for pauth-%, Peter Maydell, 2020/01/23
- [PULL 06/20] hw/acpi: Remove extra indent in ACPI GED hotplug cb, Peter Maydell, 2020/01/23
- [PULL 02/20] target/arm: Fix PAuth sbox functions, Peter Maydell, 2020/01/23
- [PULL 09/20] docs: Create stub system manual, Peter Maydell, 2020/01/23
- [PULL 08/20] qemu-nbd: Convert invocation documentation to rST, Peter Maydell, 2020/01/23
- [PULL 12/20] hw/misc/stm32f4xx_syscfg: Fix copy/paste error,
Peter Maydell <=
- [PULL 14/20] hw/core/or-irq: Increase limit of or-lines to 48, Peter Maydell, 2020/01/23
- [PULL 13/20] dma/pl330: Convert to support tracing, Peter Maydell, 2020/01/23
- [PULL 15/20] hw/arm/exynos4210: Fix DMA initialization, Peter Maydell, 2020/01/23
- [PULL 11/20] target/arm/arch_dump: Add SVE notes, Peter Maydell, 2020/01/23
- [PULL 17/20] hw/char/exynos4210_uart: Implement post_load function, Peter Maydell, 2020/01/23
- [PULL 19/20] hw/char/exynos4210_uart: Add receive DMA support, Peter Maydell, 2020/01/23
- [PULL 20/20] hw/arm/exynos4210: Connect serial port DMA busy signals with pl330, Peter Maydell, 2020/01/23
- [PULL 16/20] hw/char/exynos4210_uart: Convert to support tracing, Peter Maydell, 2020/01/23
- [PULL 18/20] hw/char/exynos4210_uart: Implement Rx FIFO level triggers and timeouts, Peter Maydell, 2020/01/23
- [PULL 10/20] qemu-block-drivers: Convert to rST, Peter Maydell, 2020/01/23