From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 4E2F4DDE3A for ; Wed, 25 Apr 2007 12:04:04 +1000 (EST) In-Reply-To: <1177463538.14873.179.camel@localhost.localdomain> References: <20070403105217.7b9fea08.sfr@canb.auug.org.au> <20070403223000.5d44b2f1.sfr@canb.auug.org.au> <20070403223136.6ecdabbd.sfr@canb.auug.org.au> <20070403223257.cb8c4d15.sfr@canb.auug.org.au> <20070403223535.dd6731d6.sfr@canb.auug.org.au> <20070403223738.03386a13.sfr@canb.auug.org.au> <20070403223914.35bf04e1.sfr@canb.auug.org.au> <20070403224039.913af749.sfr@canb.auug.org.au> <20070403224205.807cffe0.sfr@canb.auug.org.au> <20070403224340.5533abc9.sfr@canb.auug.org.au> <20070403224505.5d5a1495.sfr@canb.auug.org.au> <20070403224610.b61c7377.sfr@canb.auug.org.au> <20070403224937.f6a07e56.sfr@canb.auug.org.au> <20070403225059.e735b5e4.sfr@canb.auug.org.au> <20070403225222.88e92221.sfr@canb.auug.org.au> <20070403230505.f96ea210.sfr@canb.auug.org.au> <20070403232406.ab9a3c86.sfr@canb.auug.org.au> <20070412141905.6f30efd3.sfr@canb.auug.org.au> <20070412153424.bf3957f4.sfr@canb.auug.org.au> <20070424223245.78f4fdfb.sfr@canb.auug.org.au> <20070424223930.1dab0e28.sfr@canb.auug .org.au> <1177459235.14873.155.camel@localhost.localdomain> <1177463538.14873.179.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: From: Segher Boessenkool Subject: Re: [PATCH 3/6] Consolidate of_find_property Date: Wed, 25 Apr 2007 04:03:57 +0200 To: Benjamin Herrenschmidt Cc: ppc-dev , paulus@samba.org, "David S. Miller" , Stephen Rothwell List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >> The OF standard doesn't allow upper case in property >> names at all. > > Ok, fair enough, but in practice, they exist :-) Yes. >>> I don't think we would take much risk on ppc by >>> using strncasecmp but it shouldn't be necessary... >> >> There are some examples where upper case is actually >> used in property names, unfortunately. These can >> be solved by renaming/copying those properties to >> all lower case in a bootwrapper, or by strcmp() to >> the "cased" string, or by strcasecmp(). I for one >> don't like either option, you figure it out ;-) > > Oh well, I don't care either way though fixup from bootwrapper doesn't > appeal to me at all... It doesn't to me either, not for this isolated case; but when looking at the bigger picture, all the really bad dev tree problems we need to work around on certain platforms, it starts to sound appealing. And when you start doing some fixes in a bootwrapper, why not all. Just something to think about. Segher