From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [v3 0/6] ARM: tegra: convert device tree files to use CLK defines Date: Tue, 19 Feb 2013 10:08:16 -0700 Message-ID: <5123B180.5060106@wwwdotorg.org> References: <1360917814-27236-1-git-send-email-hdoyu@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-doc-owner@vger.kernel.org To: Simon Glass Cc: Hiroshi Doyu , linux-tegra@vger.kernel.org, pdeschrijver@nvidia.com, pgaikwad@nvidia.com, Grant Likely , Rob Herring , Rob Landley , Russell King , devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: linux-tegra@vger.kernel.org On 02/17/2013 03:20 PM, Simon Glass wrote: > Hi Hiroshi, > > On Fri, Feb 15, 2013 at 12:43 AM, Hiroshi Doyu wrote: >> Hi, >> >> With new dtc+cpp feature, we could get rid of magic numbers in dts* >> files. This patch replaces CLK IDs. ... > I wonder what sort of error message do you get when you make a mistake > in the .dts or one of the .dtsi includes? If cpp is handling the > including, does dtc just see a single file, It is. > in which case are the line > numbers printed with each error not much use? Or does dtc handle the > #line directives? cpp does generate #line directives, which dtc does know how to interpret, so this should all work just fine. IIRC, I did test out this aspect when adding #line support to dtc.