From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 21 Aug 2007 12:28:23 +1000 From: David Gibson To: Scott Wood Subject: Re: [PATCH 04/20] bootwrapper: Add dt_is_compatible(). Message-ID: <20070821022823.GE15469@localhost.localdomain> References: <20070820173920.GA30546@ld0162-tx32.am.freescale.net> <20070820173948.GC30562@ld0162-tx32.am.freescale.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20070820173948.GC30562@ld0162-tx32.am.freescale.net> Cc: linuxppc-dev@ozlabs.org, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Aug 20, 2007 at 12:39:48PM -0500, Scott Wood wrote: > This can be used rather than doing a simple strcmp, which will fail to > handle multiple compatible entries. > > Signed-off-by: Scott Wood Not sure if it's the simplest way we could accomplish this, but it will do. Certainly the strcmp()s we use at the moment are wrong. Acked-by: David Gibson -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson