From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Loeliger Subject: Re: [PATCH REPOST] Add test for re-defining an identical label Date: Sun, 08 Jul 2012 13:44:04 -0500 Message-ID: References: <1341346170-16312-1-git-send-email-swarren@wwwdotorg.org> <20120708125117.GA7749@truffala.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-reply-to: <20120708125117.GA7749-MK4v0fQdeXQXU02nzanrWNbf9cGiqdzd@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: David Gibson Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Stephen Warren List-Id: devicetree@vger.kernel.org > On Tue, Jul 03, 2012 at 02:09:30PM -0600, Stephen Warren wrote: > > From: Stephen Warren > > > > When merging one device tree over the top of a previous tree, it is > > possible to define a duplicate label that has the same name and points > > to the same property or node. This is currently allowed by the duplicate > > label checking code. However, alternative duplicate label checking > > algorithms might not allow this. Add an explicit test to ensure this > > capability is maintained. > > Sorry, I've been on leave and haven't really had brainspace to think > about this. I think you're right though, whatever else we do with > stuff we do want to allow redefinition of labels as long as they > attach to the same thing (i.e. same path, and property within that > path when applicable). Labels within property values do get curly if > that property is altered, but that doesn't directly affect this test. > > > Signed-off-by: Stephen Warren > > Acked-by: David Gibson Applied. Thanks, jdl