From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 23 Oct 2007 13:21:26 +1000 From: David Gibson To: Jon Loeliger Subject: Re: libfdt: Make fdt_string() return a const pointer Message-ID: <20071023032126.GL31839@localhost.localdomain> References: <20071018021042.GC24236@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Oct 22, 2007 at 11:37:43AM -0500, Jon Loeliger wrote: > So, like, the other day David Gibson mumbled: > > Currently, fdt_string() returns a (non-const) char *, despite taking a > > const void *fdt. This is inconsistent with all the other read-only > > functions which all return const pointers into the blob. > > > > This patch fixes that. > > > > Signed-off-by: David Gibson > > Applied. But apparently not pushed out to the public tree... -- 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