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>] [day] [month] [year] [list]
Date:	Thu, 07 Dec 2006 01:11:09 -0800
From:	David Brownell <david-b@...bell.net>
To:	wim@...ana.be, linux-kernel@...r.kernel.org
Cc:	tony@...mide.com
Subject: [patch 2.6.19-git] watchdog:  omap_wdt build fix

Recent driver model changes affected "miscdev" and broke
the build for the OMAP watchdog timer; fixed by this patch.

Signed-off-by: David Brownell <dbrownell@...rs.sourceforge.net>

Index: osk/drivers/char/watchdog/omap_wdt.c
===================================================================
--- osk.orig/drivers/char/watchdog/omap_wdt.c	2006-10-16 19:24:18.000000000 -0700
+++ osk/drivers/char/watchdog/omap_wdt.c	2006-12-05 19:43:53.000000000 -0800
@@ -290,7 +290,7 @@ static int __init omap_wdt_probe(struct 
 	omap_wdt_disable();
 	omap_wdt_adjust_timeout(timer_margin);
 
-	omap_wdt_miscdev.dev = &pdev->dev;
+	omap_wdt_miscdev.parent = &pdev->dev;
 	ret = misc_register(&omap_wdt_miscdev);
 	if (ret)
 		goto fail;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ