Re: [PATCH 2.4.6-ac2] dmi_scan.c cleanups.

Juan Quintela (quintela@mandrakesoft.com)
10 Jul 2001 02:33:53 -0400


>>>>> "stelian" == Stelian Pop <stelian.pop@fr.alcove.com> writes:

Hi
how about var args macros?

stelian> diff -uNr --exclude-from=dontdiff linux-2.4.6-ac2.orig/arch/i386/kernel/dmi_scan.c linux-2.4.6-ac2/arch/i386/kernel/dmi_scan.c
stelian> --- linux-2.4.6-ac2.orig/arch/i386/kernel/dmi_scan.c Mon Jul 9 10:25:52 2001
stelian> +++ linux-2.4.6-ac2/arch/i386/kernel/dmi_scan.c Mon Jul 9 11:03:29 2001
stelian> @@ -14,8 +14,8 @@
stelian> u16 handle;
stelian> };

stelian> -#define dmi_printk(x)
stelian> -//#define dmi_printk(x) printk(x)
stelian> +#define dmi_printk while(0) printk
stelian> +//#define dmi_printk printk

#define dmp_printk(x...) printk(x)

once, here, put labels to the printks will be also a nice idea.

Later, Juan.

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/