Skip to contentSkip to conversation

buglet in arch/i386/setup.c (2.4.10-ac7)

PATCH New Andrey Panin 1 participant 1 message Oct 8, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 buglet in arch/i386/setup.c (2.4.10-ac7)

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.

Signature · 2 lines
Andrey Panin            | Embedded systems software engineer
[email protected]        | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc
arch/i386/kernel/setup.c +1 -0
diff -urN -X /usr/dontdiff linux.vanilla/arch/i386/kernel/setup.c linux/arch/i386/kernel/setup.c
@@ -2925,6 +2925,7 @@
 		return 1;
 	}
 	printk(KERN_INFO "Your Pentium Pro seems ok.\n");
+	return 0;
 }
 	
 /*