All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch-v2] i810 TCO Oops
@ 2001-07-11 21:43 Randy.Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2001-07-11 21:43 UTC (permalink / raw)
  To: nils, Alan, Linus, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

Um, having lunch has created a better patch IMO.
It removes the "if (assignment_and_test)" line
and still fixes the Oops.

Please apply this one instead if possible...
to 2.4.7-preX and 2.3.6-acN.

Thanks.
-- 
~Randy

[-- Attachment #2: i810-foundv2.diff --]
[-- Type: text/plain, Size: 494 bytes --]

--- linux/drivers/char/i810-tco.c.org	Mon Jul  2 13:56:41 2001
+++ linux/drivers/char/i810-tco.c	Wed Jul 11 14:25:21 2001
@@ -261,11 +261,13 @@
 	 */
 
 	pci_for_each_dev(dev) {
-		if (pci_match_device(i810tco_pci_tbl, dev))
+		if (pci_match_device(i810tco_pci_tbl, dev)) {
+			i810tco_pci = dev;
 			break;
+		}
 	}
 
-	if ((i810tco_pci = dev)) {
+	if (i810tco_pci) {
 		/*
 		 *      Find the ACPI base I/O address which is the base
 		 *      for the TCO registers (TCOBASE=ACPIBASE + 0x60)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-11 21:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-11 21:43 [patch-v2] i810 TCO Oops Randy.Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.