From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-fx0-f174.google.com (mail-fx0-f174.google.com [209.85.220.174]) by ozlabs.org (Postfix) with ESMTP id 19FBEDE012 for ; Thu, 23 Apr 2009 03:56:56 +1000 (EST) Received: by fxm22 with SMTP id 22so151181fxm.9 for ; Wed, 22 Apr 2009 10:56:54 -0700 (PDT) MIME-Version: 1.0 Sender: ricardo.ribalda@gmail.com In-Reply-To: <49EF5391.9050404@freescale.com> References: <874owhoxce.fsf@macbook.be.48ers.dk> <20090422171030.GH14906@codiert.org> <49EF5391.9050404@freescale.com> From: Ricardo Ribalda Delgado Date: Wed, 22 Apr 2009 19:56:39 +0200 Message-ID: Subject: Re: ofpart: Partitions at same address cannot have the same name To: Scott Wood Content-Type: text/plain; charset=ISO-8859-1 Cc: linuxppc-dev@ozlabs.org, David.Woodhouse@intel.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Scott > Perhaps "compatible" should be used instead? What do you mean? if (strcmp(partname, "partition") || strcmp(partname, "compatible") ) I can't see the advantages. > >> Hi Recardo, >> >> I would suggest to do: >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (strcmp(partname, "partition") <=3D 0)= { > > Check whether it sorts alphabetically before "partition"? =A0Why? > > -Scott > --=20 Ricardo Ribalda http://www.eps.uam.es/~rribalda/