From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Sverdlin Subject: Re: [PATCH 1/5] OF: Clear detach flag on attach Date: Wed, 06 Nov 2013 09:46:01 +0100 Message-ID: <527A01C9.2090306@nsn.com> References: <1383673816-29293-1-git-send-email-panto@antoniou-consulting.com> <1383673816-29293-2-git-send-email-panto@antoniou-consulting.com> <20131105194310.GB17929@book.gsilab.sittig.org> <033B1C12-1AD8-44E3-A9BE-C216AEBA45F2@antoniou-consulting.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <033B1C12-1AD8-44E3-A9BE-C216AEBA45F2@antoniou-consulting.com> Sender: linux-kernel-owner@vger.kernel.org To: ext Pantelis Antoniou , Gerhard Sittig Cc: Grant Likely , Rob Herring , Stephen Warren , Matt Porter , Koen Kooi , Alison Chaiken , Dinh Nguyen , Jan Lubbe , Michael Stickel , Guenter Roeck , Dirk Behme , Alan Tull , Sascha Hauer , Michael Bohan , Ionut Nicu , Michal Simek , Matt Ranostay , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org Hello Pantelis, On 05/11/13 21:03, ext Pantelis Antoniou wrote: > On Nov 5, 2013, at 9:43 PM, Gerhard Sittig wrote: >>> --- a/drivers/of/base.c >>> +++ b/drivers/of/base.c >>> @@ -1641,6 +1641,7 @@ int of_attach_node(struct device_node *np) >>> np->allnext = of_allnodes; >>> np->parent->child = np; >>> of_allnodes = np; >>> + of_node_clear_flag(np, OF_DETACHED); >>> raw_spin_unlock_irqrestore(&devtree_lock, flags); >>> >>> of_add_proc_dt_entry(np); >> >> Does this add a call to a routine which only gets introduced in a >> subsequent patch (2/5)? If so, it would break builds during the >> series, and thus would hinder bisection. >> > > You're right, I'll re-order on the next series. Is it necessary at all now, after these fixes: 9e401275 of: fdt: fix memory initialization for expanded DT 0640332e of: Fix missing memory initialization on FDT unflattening 92d31610 of/fdt: Remove duplicate memory clearing on FDT unflattening ? -- Best regards, Alexander Sverdlin.