From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v5 p2 14/19] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt Date: Thu, 16 Apr 2015 16:13:37 +0100 Message-ID: <1429197217.25195.153.camel@citrix.com> References: <1428592185-18581-1-git-send-email-julien.grall@citrix.com> <1428592185-18581-15-git-send-email-julien.grall@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YilVa-00059Y-Cn for xen-devel@lists.xenproject.org; Thu, 16 Apr 2015 15:15:14 +0000 In-Reply-To: <1428592185-18581-15-git-send-email-julien.grall@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Wei Liu , Ian Jackson , Julien Grall , tim@xen.org, stefano.stabellini@citrix.com, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Thu, 2015-04-09 at 16:09 +0100, Julien Grall wrote: > From: Julien Grall > > The functions fdt_{fisrt,next}_subnode may not be available because: > * It has been introduced in 2013 => Doesn't work on Wheezy > * The prototype exists but the functions are not exposed. Don't ask > why... > > The later has been fixed recently in the dtc repo [1] > > When the functions are not available, implement our own in order to use > them in a following patch. > > [1] git://git.kernel.org/pub/scm/utils/dtc/dtc.git > commit a4b093f7366fdb429ca1781144d3985fa50d0fbb > > Signed-off-by: Julien Grall > Signed-off-by: Ian Jackson > Cc: Wei Liu Acked-by: Ian Campbell