diff options
author | Ilpo Jarvinen <ilpo.jarvinen@helsinki.fi> | 2007-10-23 13:40:54 -0700 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2007-10-25 08:47:29 +0000 |
commit | 59338d4cb68528062f294d95f116357265936076 (patch) | |
tree | 9dbb3425c130b584844c1d12f32f05993e45a69e /drivers/watchdog/wdt_pci.c | |
parent | bb0a38d8915b568a012888082dce731092b9803e (diff) | |
download | kernel_samsung_espresso10-59338d4cb68528062f294d95f116357265936076.zip kernel_samsung_espresso10-59338d4cb68528062f294d95f116357265936076.tar.gz kernel_samsung_espresso10-59338d4cb68528062f294d95f116357265936076.tar.bz2 |
[WATCHDOG] Add necessary braces to if (...) \n #if... cases
Signed-off-by: Ilpo Jarvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/watchdog/wdt_pci.c')
-rw-r--r-- | drivers/watchdog/wdt_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/watchdog/wdt_pci.c b/drivers/watchdog/wdt_pci.c index 6baf4ae..6bfe0e2 100644 --- a/drivers/watchdog/wdt_pci.c +++ b/drivers/watchdog/wdt_pci.c @@ -298,7 +298,7 @@ static irqreturn_t wdtpci_interrupt(int irq, void *dev_id) printk(KERN_CRIT PFX "Possible fan fault.\n"); } #endif /* CONFIG_WDT_501_PCI */ - if (!(status&WDC_SR_WCCR)) + if (!(status&WDC_SR_WCCR)) { #ifdef SOFTWARE_REBOOT #ifdef ONLY_TESTING printk(KERN_CRIT PFX "Would Reboot.\n"); @@ -309,6 +309,7 @@ static irqreturn_t wdtpci_interrupt(int irq, void *dev_id) #else printk(KERN_CRIT PFX "Reset in 5ms.\n"); #endif + } return IRQ_HANDLED; } |