Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 10 Jul 2001 07:45:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 10 Jul 2001 07:45:41 -0400 Received: from [213.98.126.44] ([213.98.126.44]:35076 "HELO trasno.org") by vger.kernel.org with SMTP id ; Tue, 10 Jul 2001 07:45:34 -0400 To: Stelian Pop Cc: Linux Kernel Mailing List , Alan Cox Subject: Re: [PATCH 2.4.6-ac2] dmi_scan.c cleanups. In-Reply-To: <20010709120814.D4850@come.alcove-fr> X-Url: http://www.lfcia.org/~quintela From: Juan Quintela In-Reply-To: <20010709120814.D4850@come.alcove-fr> Date: 10 Jul 2001 02:33:53 -0400 Message-ID: Lines: 27 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "stelian" == Stelian Pop 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/