From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Knorr Subject: Re: [patch] pagetable cleanups Date: Thu, 14 Apr 2005 17:31:30 +0200 Message-ID: <20050414153130.GB28071@bytesex> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt Cc: Michael A Fetterman , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > Personally think having "a = foo(b,c)" is actually more readable than > "foo(&a,b,c)". In that case yes. If you use that to avoid extra temporary variables, i.e. bar(x, foo(b,c)); instead of a = foo(b,c); bar(x,a); it quickly becomes unreadable, especially if the function and argument names are a bit longer and the first version doesn't fit onto a single line any more. You are not forced to do that though, even if the macros/functions _do_ return the entries ;) I'll go over it again ... Gerd -- #define printk(args...) fprintf(stderr, ## args)