+ itco_wdt_start-undo-locking-when-reboot-is-disabled.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     iTCO_wdt_start: undo locking when reboot is disabled
has been added to the -mm tree.  Its filename is
     itco_wdt_start-undo-locking-when-reboot-is-disabled.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: iTCO_wdt_start: undo locking when reboot is disabled
From: Roel Kluin <12o3l@xxxxxxxxxx>

Signed-off-by: Roel Kluin <12o3l@xxxxxxxxxx>
Cc: Wim Van Sebroeck <wim@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/watchdog/iTCO_wdt.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/watchdog/iTCO_wdt.c~itco_wdt_start-undo-locking-when-reboot-is-disabled drivers/watchdog/iTCO_wdt.c
--- a/drivers/watchdog/iTCO_wdt.c~itco_wdt_start-undo-locking-when-reboot-is-disabled
+++ a/drivers/watchdog/iTCO_wdt.c
@@ -316,6 +316,7 @@ static int iTCO_wdt_start(struct watchdo
 
 	/* disable chipset's NO_REBOOT bit */
 	if (iTCO_wdt_unset_NO_REBOOT_bit()) {
+		spin_unlock(&iTCO_wdt_private.io_lock);
 		printk(KERN_ERR PFX "failed to reset NO_REBOOT flag, reboot disabled by hardware\n");
 		return -EIO;
 	}
_

Patches currently in -mm which might be from 12o3l@xxxxxxxxxx are

origin.patch
git-arm-master.patch
dvb-dont-return-with-locks-held.patch
lmc_ioctl-dont-return-with-locks-held.patch
lmc_ioctl-dont-return-with-locks-held-fix.patch
git-ocfs2.patch
git-s390.patch
itco_wdt_start-undo-locking-when-reboot-is-disabled.patch
i4l-errors-with-assignments-in-if.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux