From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: dtc: Return code of fdt_get_path() Date: Tue, 05 Aug 2008 16:12:22 -0500 Message-ID: <4898C236.5030305@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org To: David Gibson Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org List-Id: devicetree@vger.kernel.org The documentation for fdt_get_path() says it returns zero on success, but it actually returns the length of the string. Is there any preference on which one to fix? -Scott