android_kernel_samsung_msm8976/arch/i386
Robert Love 640e803376 [PATCH] fix: dmi_check_system
Background:

	1) dmi_check_system() returns the count of the number of
	   matches.  Zero thus means no matches.
	2) A match callback can return nonzero to stop the match
	   checking.

Bug: The count is incremented after we check for the nonzero return value,
so it does not reflect the actual count.  We could say this is intended,
for some dumb reason, except that it means that a match on the first check
returns zero--no matches--if the callback returns nonzero.

Attached patch implements the count before calling the callback and thus
before potentially short-circuiting.

Signed-off-by: Robert Love <rml@novell.com>
Cc: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-07 16:57:44 -07:00
..
boot [PATCH] Make the bzImage format self-terminating 2005-09-07 16:57:29 -07:00
crypto
kernel [PATCH] fix: dmi_check_system 2005-09-07 16:57:44 -07:00
lib
mach-default [PATCH] x86_64: create sysfs entries for cpu only for present cpus 2005-09-07 16:57:16 -07:00
mach-es7000 [PATCH] ES7000 platform update (i386) 2005-09-05 00:06:10 -07:00
mach-generic [PATCH] x86: sutomatically enable bigsmp when we have more than 8 CPUs 2005-09-05 00:06:10 -07:00
mach-visws
mach-voyager [PATCH] i386 boottime for_each_cpu broken 2005-09-05 00:06:13 -07:00
math-emu [PATCH] i386: inline assembler: cleanup and encapsulate descriptor and task register management 2005-09-05 00:06:11 -07:00
mm [PATCH] Additions to .data.read_mostly section 2005-09-07 16:57:33 -07:00
oprofile [PATCH] Fix function/macro name collision on i386 oprofile 2005-09-07 16:57:29 -07:00
pci
power [PATCH] x86: remove redundant TSS clearing 2005-09-05 00:06:13 -07:00
defconfig
Kconfig [PATCH] x86/x86_64: deferred handling of writes to /proc/irqxx/smp_affinity 2005-09-07 16:57:15 -07:00
Kconfig.debug
Makefile