Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752108AbZLUNns (ORCPT ); Mon, 21 Dec 2009 08:43:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751333AbZLUNnq (ORCPT ); Mon, 21 Dec 2009 08:43:46 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:59754 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750748AbZLUNnq (ORCPT ); Mon, 21 Dec 2009 08:43:46 -0500 Date: Mon, 21 Dec 2009 08:43:44 -0500 From: Christoph Hellwig To: Steven Whitehouse Cc: Thiago Farina , linux-kernel@vger.kernel.org, Benjamin Marzinski , David Teigland , cluster-devel@redhat.com Subject: Re: [PATCH 2/2] gfs2: Use CALLER_ADDR0 macro. Message-ID: <20091221134344.GA17372@infradead.org> References: <1261332469-25298-1-git-send-email-tfransosi@gmail.com> <1261332469-25298-2-git-send-email-tfransosi@gmail.com> <1261387361.2200.6.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1261387361.2200.6.camel@localhost> User-Agent: Mutt/1.5.19 (2009-01-05) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 797 Lines: 19 On Mon, Dec 21, 2009 at 09:22:41AM +0000, Steven Whitehouse wrote: > Hi, > > Looks fairly harmless, even though I don't entirely see the point. Do > you want me to add this to me tree? We also have a _RET_IP_ macro that does the same and has a much more useful name. And given that we need the address as void pointer to print it using our printk extension both seem a bit supoptimal. Given that a lot of tracing code needs this a bit of standardization would be useful - more important for the type to store the address than just the macro name. -- 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/