From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sylwester Nawrocki Subject: Re: [PATCH RFC v1 2/3] of: Add definition of maximum length of a property name Date: Thu, 20 Feb 2014 16:02:40 +0100 Message-ID: <53061910.6040701@samsung.com> References: <1392829124-25705-1-git-send-email-s.nawrocki@samsung.com> <1392829124-25705-3-git-send-email-s.nawrocki@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-reply-to: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rob Herring Cc: "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Mike Turquette , Russell King - ARM Linux , Rob Herring , Grant Likely , Mark Rutland , Kumar Gala , Kyungmin Park , sw0312.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, Marek Szyprowski , Tomasz Figa List-Id: devicetree@vger.kernel.org On 19/02/14 22:42, Rob Herring wrote: > On Wed, Feb 19, 2014 at 10:58 AM, Sylwester Nawrocki > wrote: >> > Maximum length of a property name is defined by ePAPR (2.2.4.1) as >> > 31 characters. Add a corresponding definition, including the trailing >> > null space. > > Does dtc enforce this? It would be good to add if not. As far as I can see there is nothing currently enforcing this in dtc. There is no related check and too long property names are accepted silently. I'll try and see if I can prepare a patch for this, until someone more familiar with dtc does it. -- Regards, Sylwester -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html