Skip to contentSkip to conversation

ARM: footbridge: add missing semicolon

PATCH In review Arnd Bergmann 2 participants 2 messages Nov 6, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: footbridge: add missing semicolon

The timer_setup() conversion included a small typo that breaks the build:

arch/arm/mach-footbridge/dc21285.c: In function 'dc21285_enable_error':
arch/arm/mach-footbridge/dc21285.c:145:2: error: expected ';' before 'else'
else if (timer == &perr_timer)

Fixes b7bea32f0cc4 ("ARM: footbridge: Convert timers to use timer_setup()")
Cc Thomas Gleixner <[email protected]>

---
The broken patch is currently in -tip and came in through timers-conversion-next3. Please apply this one on top, or fold it into the original patch if possible

---
 arch/arm/mach-footbridge/dc21285.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-footbridge/dc21285.c +1 -1
index 8407e4a07c77..e7b350f18f5f 100644
@@ -141,7 +141,7 @@ static void dc21285_enable_error(struct timer_list *timer)
 	del_timer(timer);
 
 	if (timer == &serr_timer)
-		enable_irq(IRQ_PCI_SERR)
+		enable_irq(IRQ_PCI_SERR);
 	else if (timer == &perr_timer)
 		enable_irq(IRQ_PCI_PERR);
 }
Signature · 1 line
2.9.0
#1 lore raw

Thanks! I noticed the report just before I saw your email. :) This should be fixed in tip soon.

-Kees

Quoted 33 lines · Arnd Bergmann

The timer_setup() conversion included a small typo that breaks the build:

arch/arm/mach-footbridge/dc21285.c: In function 'dc21285_enable_error':
arch/arm/mach-footbridge/dc21285.c:145:2: error: expected ';' before 'else'
else if (timer == &perr_timer)

Fixes b7bea32f0cc4 ("ARM: footbridge: Convert timers to use timer_setup()")
Cc Thomas Gleixner <[email protected]>

---
The broken patch is currently in -tip and came in through timers-conversion-next3. Please apply this one on top, or fold it into the original patch if possible

---
 arch/arm/mach-footbridge/dc21285.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-footbridge/dc21285.c +1 -2
index 8407e4a07c77..e7b350f18f5f 100644
@@ -141,7 +141,7 @@ static void dc21285_enable_error(struct timer_list *timer)
        del_timer(timer);
 
        if (timer == &serr_timer)
-               enable_irq(IRQ_PCI_SERR)
+               enable_irq(IRQ_PCI_SERR);
        else if (timer == &perr_timer)
                enable_irq(IRQ_PCI_PERR);
 }
--

2.9.0

Signature · 2 lines
Kees Cook
Pixel Security