mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
hw/misc/stm32_rcc: Fix stm32_rcc_write() arguments order
The tracing function for the write case incorrectly has parameters switched around. So order them in the correct way. Signed-off-by: Philippe Michaud-Boudreault <philmb3487@proton.me> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <HnyjTNqwrfGusE44bnM7kuLuj13Di1VgXN-dXVHMOSnfgCUhoipOVIoVS1WQaKrJxmEDy9XJGdlQj6zVTIdJE0QVlfBhfbcckFFWRRP56uY=@proton.me> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
860bb8b925
commit
3938180c9c
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ static void stm32_rcc_write(void *opaque, hwaddr addr,
|
|||
uint32_t value = val64;
|
||||
uint32_t prev_value, new_value, irq_offset;
|
||||
|
||||
trace_stm32_rcc_write(value, addr);
|
||||
trace_stm32_rcc_write(addr, value);
|
||||
|
||||
if (addr > STM32_RCC_DCKCFGR2) {
|
||||
qemu_log_mask(LOG_GUEST_ERROR, "%s: Bad offset 0x%"HWADDR_PRIx"\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue