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

Robert J.Dunlop (rjd@xyzzy.clara.co.uk)
Mon, 9 Jul 2001 12:16:04 +0100


On Mon, Jul 09, 2001 at 11:27:12AM +0100, Stelian Pop wrote:
> This patch cleans up the printk code in dmi_scan.c (the previous
> code gave compile warnings on enabling the printk).

A much smaller (but not necessarily better) patch would simply be:

--- arch/i386/kernel/dmi_scan.c.orig Mon Jul 9 11:41:21 2001
+++ arch/i386/kernel/dmi_scan.c Mon Jul 9 11:57:43 2001
@@ -15,7 +15,7 @@
};

#define dmi_printk(x)
-//#define dmi_printk(x) printk(x)
+//#define dmi_printk(x) printk x

static char * __init dmi_string(struct dmi_header *dm, u8 s)
{

-- 
        Bob Dunlop
        rjd@xyzzy.clara.co.uk
        www.xyzzy.clara.co.uk
-
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/