WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

Re: [XenPPC] [pushed] [ppc] OF write method does not handle carriage ret

To: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Subject: Re: [XenPPC] [pushed] [ppc] OF write method does not handle carriage return
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Tue, 25 Apr 2006 16:26:24 -0500
Cc: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 25 Apr 2006 14:25:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <A68ABFDC-D022-40EA-91DE-A858DEAA31E2@xxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <E1FYS37-0007XP-6E@xxxxxxxxxxxxxxxxxxxxx> <1145994797.3609.12.camel@xxxxxxxxxxxxxxxxxxxxx> <A68ABFDC-D022-40EA-91DE-A858DEAA31E2@xxxxxxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2006-04-25 at 16:46 -0400, Jimi Xenidis wrote:
> On Apr 25, 2006, at 3:53 PM, Hollis Blanchard wrote:
> >> +                if (rc == OF_FAILURE) return rc;
> >
> > Please add a newline after the conditional.
> 
> Nah, Its valid, readable and simpler, I see no reason to change it.

It is also inconsistent with Xen and Linux style. So does our use of
braces for single-line conditionals in PPC code, for that matter, but it
seems we are all in agreement on that one, and we are not on this one.

-- 
Hollis Blanchard
IBM Linux Technology Center


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel