lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 17 Aug 2009 10:40:40 +0800
From:	Wan ZongShun <mcuos.com@...il.com>
To:	Wim Van Sebroeck <wim@...ana.be>
CC:	linux-arm-kernel <linux-arm-kernel@...ts.arm.linux.org.uk>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] Add watchdog driver for w90p910

Dear Wim,

Thanks for your w90p910-v2.diff, I appreciated it.
I have tested it and only modified the quote of 'expect_close',
and now the patch works very well.:)

At the same time, I renamed this driver name, due to I
have changed the corresponding device name in my arch file.

The attached file is fixed patch relative to this w90p910-v2.diff.

Signed-off-by: Wan ZongShun <mcuos.com@...il.com>

---
 drivers/watchdog/w90p910_wdt.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/watchdog/w90p910_wdt.c b/drivers/watchdog/w90p910_wdt.c
index 3cb8972..741db53 100644
--- a/drivers/watchdog/w90p910_wdt.c
+++ b/drivers/watchdog/w90p910_wdt.c
@@ -137,7 +137,7 @@ static int w90p910_wdt_open(struct inode *inode, struct file *file)
 
 static int w90p910_wdt_close(struct inode *inode, struct file *file)
 {
-	if (expect_close == 42)
+	if (w90p910_wdt->expect_close == 42)
 		w90p910_wdt_stop();
 	else {
 		dev_crit(&w90p910_wdt->pdev->dev,
@@ -328,7 +328,7 @@ static struct platform_driver w90p910wdt_driver = {
 	.probe		= w90p910wdt_probe,
 	.remove		= __devexit_p(w90p910wdt_remove),
 	.driver		= {
-		.name	= "w90p910-wdt",
+		.name	= "nuc900-wdt",
 		.owner	= THIS_MODULE,
 	},
 };
@@ -350,4 +350,4 @@ MODULE_AUTHOR("Wan ZongShun <mcuos.com@...il.com>");
 MODULE_DESCRIPTION("Watchdog driver for W90P910");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);
-MODULE_ALIAS("platform:w90p910-wdt");
+MODULE_ALIAS("platform:nuc900-wdt");
-- 
1.5.6.3



View attachment "0002-wan-fix-wim-wdt-driver.patch" of type "text/x-patch" (1199 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ