qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hw/misc : Correct 5 spaces indents in stm32l4x5_exti
@ 2024-04-21 14:14 Inès Varhol
  2024-04-22 11:24 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 2+ messages in thread
From: Inès Varhol @ 2024-04-21 14:14 UTC (permalink / raw)
  To: qemu-devel
  Cc: Arnaud Minier, qemu-arm, Samuel Tardieu, Inès Varhol,
	Philippe Mathieu-Daudé

Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
---
 hw/misc/stm32l4x5_exti.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hw/misc/stm32l4x5_exti.c b/hw/misc/stm32l4x5_exti.c
index 9fd859160d..5c55ee4268 100644
--- a/hw/misc/stm32l4x5_exti.c
+++ b/hw/misc/stm32l4x5_exti.c
@@ -59,22 +59,22 @@ static const uint32_t exti_romask[EXTI_NUM_REGISTER] = {
 
 static unsigned regbank_index_by_irq(unsigned irq)
 {
-     return irq >= EXTI_MAX_IRQ_PER_BANK ? 1 : 0;
+    return irq >= EXTI_MAX_IRQ_PER_BANK ? 1 : 0;
 }
 
 static unsigned regbank_index_by_addr(hwaddr addr)
 {
-     return addr >= EXTI_IMR2 ? 1 : 0;
+    return addr >= EXTI_IMR2 ? 1 : 0;
 }
 
 static unsigned valid_mask(unsigned bank)
 {
-     return MAKE_64BIT_MASK(0, irqs_per_bank[bank]);
+    return MAKE_64BIT_MASK(0, irqs_per_bank[bank]);
 }
 
 static unsigned configurable_mask(unsigned bank)
 {
-     return valid_mask(bank) & ~exti_romask[bank];
+    return valid_mask(bank) & ~exti_romask[bank];
 }
 
 static void stm32l4x5_exti_reset_hold(Object *obj)
-- 
2.43.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] hw/misc : Correct 5 spaces indents in stm32l4x5_exti
  2024-04-21 14:14 [PATCH] hw/misc : Correct 5 spaces indents in stm32l4x5_exti Inès Varhol
@ 2024-04-22 11:24 ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-04-22 11:24 UTC (permalink / raw)
  To: Inès Varhol, qemu-devel; +Cc: Arnaud Minier, qemu-arm, Samuel Tardieu

On 21/4/24 16:14, Inès Varhol wrote:
> Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
> ---
>   hw/misc/stm32l4x5_exti.c | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

and queued, thanks!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-22 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-21 14:14 [PATCH] hw/misc : Correct 5 spaces indents in stm32l4x5_exti Inès Varhol
2024-04-22 11:24 ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).