LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] buglet in arch/i386/setup.c (2.4.10-ac7)
@ 2001-10-08  6:06 Andrey Panin
  0 siblings, 0 replies; only message in thread
From: Andrey Panin @ 2001-10-08  6:06 UTC (permalink / raw)
  To: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 335 bytes --]

Hi,

function ppro_with_ram_bug() really contains one bug :))
return 0 is missing at the end of it and IMHO its return value is 
always nonzero because of this bug.

Best regards.

-- 
Andrey Panin            | Embedded systems software engineer
pazke@orbita1.ru        | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc

[-- Attachment #1.2: patch-ppro_with_ram_bug --]
[-- Type: text/plain, Size: 349 bytes --]

diff -urN -X /usr/dontdiff linux.vanilla/arch/i386/kernel/setup.c linux/arch/i386/kernel/setup.c
--- linux.vanilla/arch/i386/kernel/setup.c	Tue Oct  2 21:06:54 2001
+++ linux/arch/i386/kernel/setup.c	Sat Oct  6 23:28:44 2001
@@ -2925,6 +2925,7 @@
 		return 1;
 	}
 	printk(KERN_INFO "Your Pentium Pro seems ok.\n");
+	return 0;
 }
 	
 /*

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

only message in thread, other threads:[~2001-10-08  6:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-08  6:06 [PATCH] buglet in arch/i386/setup.c (2.4.10-ac7) Andrey Panin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).