Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 14 Sep 2002 04:47:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 14 Sep 2002 04:47:19 -0400 Received: from hermes.domdv.de ([193.102.202.1]:39954 "EHLO zeus.domdv.de") by vger.kernel.org with ESMTP id ; Sat, 14 Sep 2002 04:47:19 -0400 Message-ID: <3D82F8F9.4080604@domdv.de> Date: Sat, 14 Sep 2002 10:53:13 +0200 From: Andreas Steinmetz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020828 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Urban Widmark CC: linux-kernel@vger.kernel.org Subject: Re: compile warning fix for smb_debug.h References: X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1065 Lines: 40 I'm just wary about the extra blank which is error prone. Otherwise there's no problem. Urban Widmark wrote: > On Fri, 13 Sep 2002, Andreas Steinmetz wrote: > > >>Hi, >>attached is a fix for gcc 3.2 deprecated usage warnings for __FUNCTION__ >>in smb_debug.h. As gcc 2.95.3 doesn't issue the warning and can't handle >>the new macro there's a macro selection based on the compiler major >>version. Patch is against 2.4.20pre7. > > > Why not just take the version from 2.5? > Or is there a problem with this one too and gcc2.95.3? > > #ifdef SMBFS_PARANOIA > # define PARANOIA(f, a...) printk(KERN_NOTICE "%s: " f, __FUNCTION__ , ## a) > #else > # define PARANOIA(f, a...) do { ; } while(0) > #endif > > etc. > > Note the extra space ... > > /Urban > > -- Andreas Steinmetz D.O.M. Datenverarbeitung GmbH - 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/