From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: David Gibson Subject: Re: libfdt: Make fdt_string() return a const pointer In-Reply-To: Your message of "Thu, 18 Oct 2007 12:10:42 +1000." <20071018021042.GC24236@localhost.localdomain> References: <20071018021042.GC24236@localhost.localdomain> Date: Mon, 22 Oct 2007 11:37:43 -0500 From: Jon Loeliger Message-Id: Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. jdl